diff -r 89b7449d1fd9 -r 3ce3df681be0 www/js/inv_equipments.js --- a/www/js/inv_equipments.js Thu Jun 11 19:59:30 2020 +0200 +++ b/www/js/inv_equipments.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 @@ -132,9 +132,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) { @@ -149,9 +147,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) { @@ -166,9 +162,7 @@ commit(true); location.reload(true); }, - error: function(jqXHR, textStatus, errorThrown) { - commit(false); - } + error: function(jqXHR, textStatus, errorThrown) { commit(false); } }); } }, @@ -229,14 +223,14 @@ renderstatusbar: function(statusbar) { var addButton, container = $('
'); addButton = $('
Nieuw
'); + 'src="images/add.png"/>Nieuw'); expButton = $('
Export
'); + 'src="images/database.png"/>Export'); container.append(addButton); container.append(expButton); statusbar.append(container); - addButton.jqxButton({ theme: theme, width: 90, height: 20 }); - expButton.jqxButton({ theme: theme, width: 90, height: 20 }); + addButton.jqxButton({ theme: theme, width: 90, height: 17 }); + expButton.jqxButton({ theme: theme, width: 90, height: 17 }); // add new row. addButton.click(function(event) { editrow = -1;