diff --git a/src/core.js b/src/core.js index 21a0fc5e..cb95d87a 100644 --- a/src/core.js +++ b/src/core.js @@ -941,7 +941,6 @@ TableFilter.prototype = { } if(this.loader){ - //this.SetLoader(); var Loader = require('modules/loader'); this.loaderCpt = new Loader(this); } @@ -1245,7 +1244,6 @@ TableFilter.prototype = { } if(this.loader){ - //this.ShowLoader('none'); this.loaderCpt.show('none'); } @@ -1331,18 +1329,16 @@ TableFilter.prototype = { o.StatusMsg(''); } if(o.loader){ - //o.ShowLoader('none'); o.loaderCpt.show('none'); } } if(this.loader || this.status || this.statusBar) { try{ - //this.ShowLoader(''); this.loaderCpt.show(''); this.StatusMsg(o['msg'+evt]); } catch(e){} - global.setTimeout(efx,this.execDelay); + global.setTimeout(efx, this.execDelay); } else { efx(); } @@ -1531,7 +1527,6 @@ TableFilter.prototype = { this.RemoveSort(); } if(this.loader){ - // this.RemoveLoader(); this.loaderCpt.remove(); } if(this.popUpFilters){ diff --git a/test/test-config.js b/test/test-config.js new file mode 100644 index 00000000..16fad928 --- /dev/null +++ b/test/test-config.js @@ -0,0 +1,9 @@ +(function () { + + // Configure RequireJS so it resolves relative module paths from the `src` + // folder. + require.config({ + baseUrl: '../src', + }); + +}()); \ No newline at end of file diff --git a/test/test-loader.html b/test/test-loader.html new file mode 100644 index 00000000..c482904d --- /dev/null +++ b/test/test-loader.html @@ -0,0 +1,82 @@ + + +
+ +From | +Destination | +Road Distance (km) | +By Air (hrs) | +By Rail (hrs) | +
---|---|---|---|---|
Sydney | +Adelaide | +1412 | +1.4 | +25.3 | +
Sydney | +Brisbane | +982 | +1.5 | +16 | +
Sydney | +Canberra | +286 | +.6 | +4.3 | +
Sydney | +Melbourne | +872 | +1.1 | +10.5 | +
Adelaide | +Perth | +2781 | +3.1 | +38 | +
Adelaide | +Alice Springs | +1533 | +2 | +20.25 | +
Adelaide | +Brisbane | +2045 | +2.15 | +40 | +