Reputation: 4049
I have a handler, more like a submit button. And I would like to mask the whole page or that form to show wait message until the rest of the process is completed. I did this and it worked in FF but no success in IE, when I do Ext.getCmp('').body.mask('Loading');
it does nothing, but when I add .delay(1000)
it shows both in FF and IE and never ends the loading message...
Upvotes: 3
Views: 2281
Reputation: 136
Just a note, when using .mask() function, you have to call it to a DOM element, which means you should use it either with
Ext.get('yourDomElementId').mask();
or
Ext.getCmp('yourExtComponentId').el.mask(); //this gets the dom
//element attached to the component
I've never used it with .body
Upvotes: 1