www/js/prod_edit.js

changeset 539
fe9ac6d49c4f
parent 538
41d21817608e
child 542
dabe1c854a0f
--- a/www/js/prod_edit.js	Sun Oct 27 20:20:09 2019 +0100
+++ b/www/js/prod_edit.js	Sun Oct 27 22:39:28 2019 +0100
@@ -823,15 +823,12 @@
     { name: 'h_avail', type: 'int' }
    ],
    addrow: function(rowid, rowdata, position, commit) {
-    console.log('hop addrow ' + rowid);
     commit(true);
    },
    deleterow: function(rowid, commit) {
-    console.log('hop deleterow ' + rowid);
     commit(true);
    },
    updaterow: function(rowid, rowdata, commit) {
-    console.log('hop updaterow ' + rowid);
     commit(true);
    }
   },
@@ -1030,15 +1027,12 @@
     { name: 'm_avail', type: 'int' }
    ],
    addrow: function(rowid, rowdata, position, commit) {
-    console.log('misc addrow ' + rowid);
     commit(true);
    },
    deleterow: function(rowid, commit) {
-    console.log('misc deleterow ' + rowid);
     commit(true);
    },
    updaterow: function(rowid, rowdata, commit) {
-    console.log('misc updaterow ' + rowid);
     commit(true);
    }
   },
@@ -2418,9 +2412,8 @@
  };
 
  function whirlpoolHops() {
-  console.log('whirlpoolHops()');
   var row, i, time, rowscount;
-  if (!(rowscount =  $('#hopGrid').jqxGrid('getdatainformation').rowscount))
+  if (!(rowscount = $('#hopGrid').jqxGrid('getdatainformation').rowscount))
    return;
   if (rowscount == 0)
    return;

mercurial