Created
November 25, 2011 20:27
-
-
Save mitchellsimoens/1394360 to your computer and use it in GitHub Desktop.
LoadMask to display when grid is rendered but store is not done loading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.override(Ext.LoadMask, { | |
onBeforeLoad: function() { | |
var me = this; | |
if (!me.disabled) { | |
me.loading = true; | |
} | |
me.callOverridden(arguments); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment