diff -r b316b88ebe12 -r f6fafccd8a6d www/js/profile_styles.js
--- a/www/js/profile_styles.js Sat Mar 02 19:21:50 2019 +0100
+++ b/www/js/profile_styles.js Sun Mar 03 13:26:28 2019 +0100
@@ -182,9 +182,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;
@@ -212,6 +215,10 @@
$("#examples").val('');
$("#popupWindow").jqxWindow('open');
});
+ impButton.click(function (event) {
+ var url="import_ingredients.php?select=styles";
+ window.location.href = url;
+ });
},
filterable: true,
filtermode: 'excel',