Created
January 28, 2015 18:32
-
-
Save sourabh86/2a580642a2041ee3f69d to your computer and use it in GitHub Desktop.
Overriding Ext.layout.Default. This should be placed under /app/override/layout/
This file contains 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.define('Ext.layout.override.Default', { | |
override: 'Ext.layout.Default', | |
removeInnerItem: function(item) { | |
// check for valid element | |
if (item.element !== null) { | |
item.element.detach(); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment