Loading changes

Tue, 17 Mar 2020 20:25:20 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 17 Mar 2020 20:25:20 +0100
changeset 640
048932246071
parent 639
71c6bbd7d4e6
child 641
ab6423be2a1e

Loading changes

www/js/prod_edit.js file | annotate | diff | comparison | revisions
--- a/www/js/prod_edit.js	Tue Mar 17 17:26:20 2020 +0100
+++ b/www/js/prod_edit.js	Tue Mar 17 20:25:20 2020 +0100
@@ -558,11 +558,8 @@
    calcStage();
    $('#jqxTabs').jqxTabs('select', 2);
   },
-   loadError: function(jqXHR, status, error) {
+  loadError: function(jqXHR, status, error) {
    console.log('main data load error: ' + status + ' ' + error);
-  },
-  beforeLoadComplete: function(records) {
-   $('#jqxLoader').jqxLoader('open');
   }
  });
 
@@ -1621,6 +1618,7 @@
  $('#jqxMenu').jqxMenu('destroy');
  console.log('record:' + my_record + '  return:' + my_return + '  theme:' + theme);
  $('#jqxLoader').jqxLoader({ width: 250, height: 150, isModal: true, text: 'Laden product ...', theme: theme });
+ $('#jqxLoader').jqxLoader('open');
 
  /* Moved to before all functions */
  console.log('dataAdapter.dataBind() start');

mercurial