diff -r b316b88ebe12 -r f6fafccd8a6d www/js/inv_hops.js
--- a/www/js/inv_hops.js Sat Mar 02 19:21:50 2019 +0100
+++ b/www/js/inv_hops.js Sun Mar 03 13:26:28 2019 +0100
@@ -183,9 +183,12 @@
renderstatusbar: function (statusbar) {
var container = $("
");
var addButton = $("Nieuw ");
+ var impButton = $("Import ");
container.append(addButton);
+ container.append(impButton);
statusbar.append(container);
addButton.jqxButton({ theme: theme, width: 90, height: 20 });
+ impButton.jqxButton({ theme: theme, width: 90, height: 20 });
// add new row.
addButton.click(function (event) {
editrow = -1;
@@ -211,6 +214,10 @@
$("#total_oil").val(0);
$("#popupWindow").jqxWindow('open');
});
+ impButton.click(function (event) {
+ var url="import_ingredients.php?select=hops";
+ window.location.href = url;
+ });
},
filterable: true,
filtermode: 'excel',