www/js/prod_inprod.js

changeset 816
d76f623d487c
parent 525
8bbc5730aaa8
child 832
2641860ad61d
--- a/www/js/prod_inprod.js	Fri Aug 05 10:53:56 2022 +0200
+++ b/www/js/prod_inprod.js	Fri Aug 05 11:02:01 2022 +0200
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Copyright (C) 2018-2019
+ * Copyright (C) 2018-2022
  *
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -45,20 +45,6 @@
   height: 630,
   source: dataAdapter,
   theme: theme,
-  showstatusbar: true,
-  renderstatusbar: function(statusbar) {
-   var container, addButton;
-   container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>');
-   addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' +
-     'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -3px;">Add</span></div>');
-   container.append(addButton);
-   statusbar.append(container);
-   addButton.jqxButton({ theme: theme, width: 90, height: 20 });
-   // add new recipe.
-   addButton.click(function(event) {
-    window.location.href = 'prod_new.php?return=prod_inprod.php';
-   });
-  },
   columns: [
    { text: 'Datum', datafield: 'birth', width: 120 },
    { text: 'Code', datafield: 'code', width: 120 },

mercurial