diff -r ee28b3303da2 -r acdd54144838 www/js/inv_miscs.js
--- a/www/js/inv_miscs.js Thu Dec 05 13:25:54 2019 +0100
+++ b/www/js/inv_miscs.js Thu Dec 05 22:47:40 2019 +0100
@@ -183,11 +183,15 @@
'src="images/add.png"/>Nieuw');
impButton = $('
Import ');
+ expButton = $('Export ');
container.append(addButton);
container.append(impButton);
+ container.append(expButton);
statusbar.append(container);
addButton.jqxButton({ theme: theme, width: 90, height: 20 });
impButton.jqxButton({ theme: theme, width: 90, height: 20 });
+ expButton.jqxButton({ theme: theme, width: 90, height: 20 });
// add new row.
addButton.click(function(event) {
editrow = -1;
@@ -209,6 +213,9 @@
impButton.click(function(event) {
window.location.href = 'import_ingredients.php?select=miscs';
});
+ expButton.click(function(event) {
+ window.open('export_miscs.php');
+ });
},
filterable: true,
filtermode: 'excel',