diff -r 89b7449d1fd9 -r 3ce3df681be0 www/js/profile_water.js --- a/www/js/profile_water.js Thu Jun 11 19:59:30 2020 +0200 +++ b/www/js/profile_water.js Sat Jun 13 12:14:26 2020 +0200 @@ -3,7 +3,7 @@ * * Michiel Broek * - * This file is part of BrewCloud + * This file is part of Brewery Management System * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -77,9 +77,7 @@ commit(true); location.reload(true); }, - error: function(jqXHR, textStatus, errorThrown) { - commit(false); - } + error: function(jqXHR, textStatus, errorThrown) { commit(false); } }); }, addrow: function(rowid, rowdata, position, commit) { @@ -94,9 +92,7 @@ commit(true); location.reload(true); }, - error: function(jqXHR, textStatus, errorThrown) { - commit(false); - } + error: function(jqXHR, textStatus, errorThrown) { commit(false); } }); }, updaterow: function(rowid, rowdata, commit) { @@ -111,9 +107,7 @@ commit(true); location.reload(true); }, - error: function(jqXHR, textStatus, errorThrown) { - commit(false); - } + error: function(jqXHR, textStatus, errorThrown) { commit(false); } }); } }, @@ -156,10 +150,10 @@ renderstatusbar: function(statusbar) { var container = $('
'), addButton = $('
Nieuw
'); + 'src="images/add.png"/>Nieuw'); container.append(addButton); statusbar.append(container); - addButton.jqxButton({ theme: theme, width: 90, height: 20 }); + addButton.jqxButton({ theme: theme, width: 90, height: 17 }); // add new row. addButton.click(function(event) { editrow = -1;