mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Consumptions didn't get removed properly
This commit is contained in:
		@@ -41,7 +41,7 @@ $(document).ready(function() {
 | 
			
		||||
                $("#conso_button_" + button.id).click(function() {
 | 
			
		||||
                    if (LOCK)
 | 
			
		||||
                        return;
 | 
			
		||||
                    removeNote(button, "conso_button", buttons,"consos_list");
 | 
			
		||||
                    removeNote(button, "conso_button", buttons,"consos_list")();
 | 
			
		||||
                });
 | 
			
		||||
            });
 | 
			
		||||
        }
 | 
			
		||||
@@ -61,7 +61,7 @@ $(document).ready(function() {
 | 
			
		||||
                    $("#conso_button_" + button.id).click(function() {
 | 
			
		||||
                        if (LOCK)
 | 
			
		||||
                            return;
 | 
			
		||||
                        removeNote(button, "conso_button", buttons,"note_list");
 | 
			
		||||
                        removeNote(button, "conso_button", buttons,"note_list")();
 | 
			
		||||
                    });
 | 
			
		||||
                });
 | 
			
		||||
            }
 | 
			
		||||
@@ -139,7 +139,7 @@ function addConso(dest, amount, type, category_id, category_name, template_id, t
 | 
			
		||||
            $("#conso_button_" + button.id).click(function() {
 | 
			
		||||
                if (LOCK)
 | 
			
		||||
                    return;
 | 
			
		||||
                removeNote(button, "conso_button", buttons, list);
 | 
			
		||||
                removeNote(button, "conso_button", buttons, list)();
 | 
			
		||||
            });
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user