-
17 Dec 2012 7:26 AM #1
4.2.0beta : destroy tries to remove non-existing resizer handles
4.2.0beta : destroy tries to remove non-existing resizer handles
Destroying a resizable component causes error when is has been initiated with custom handles config.
Workaroud:
Code:// BUG : trying to remove non-existing resizer handles
Cheers,Code:Ext.override(Ext.resizer.Resizer, { destroy: function() { var i = 0, exist, handles = this.handles, len = handles.length, positions = this.possiblePositions; for (; i < len; i++) { if(exist = this[positions[handles[i]]]) {exist.remove()}; } } });
C.
-
18 Dec 2012 12:20 AM #2
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8056
in
4.2.0.265.


Reply With Quote