Skip to content

Instantly share code, notes, and snippets.

@zziuni
Created June 21, 2012 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zziuni/2963891 to your computer and use it in GitHub Desktop.
Save zziuni/2963891 to your computer and use it in GitHub Desktop.
enable LoadMask for Extjs4.1
Ext.define("Ext.view.AbstractView.LoadMask", {
override: "Ext.view.AbstractView",
onRender: function() {
this.callParent();
if (this.loadMask && Ext.isObject(this.store)) {
this.setMaskBind(this.store);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment