-
20 Feb 2013 11:20 AM #1
[4.2.0-489] Ext.Component - setLoading generates error
[4.2.0-489] Ext.Component - setLoading generates error
I tried to update my app from 4.1 to 4.2.0-489 and a basic function - setLoading causes my app to crash.
Sample code to reproduce error:
Code:
Output:Code:var w = Ext.create('Ext.window.Window', { height : 400, width : 400, }).show(); w.setLoading(true);
ext-all-debug.js:39929 : Cannot call method 'mask' of null
Expected Output:
A loading mask on the window.
-
20 Feb 2013 6:20 PM #2
I can't reproduce this. I copied your code exactly against the 4.2.0-489 build, no errors and I see the mask show up. All I did was replace the contents of array-grid.html with your code, inside of an onReady block:
Code:Ext.onReady(function() { var w = Ext.create('Ext.window.Window', { height: 400, width: 400 }).show(); w.setLoading(true); });Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
22 Feb 2013 9:44 AM #3
Sorry, someone in my team had overwritten the LoadMask class which was breaking. I'll delete this thread. Thanks for the quick reply though!
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote