PDA

View Full Version : [FIXED] Ext.resizer.Resizer broken



mankz
4 Apr 2014, 4:17 AM
onResize: function(tracker, e) {
var me = this,
box;

// ERROR 1: should be 'resizedrag' lowercase
if (me.hasListeners.resizeDrag) {
box = tracker.getResizeTarget().getBox();
return me.fireEvent('resizedrag', me, box.width, box.height, e);
}
},

If 1 is fixed, hard crash on the next line.


Uncaught TypeError: Object [object Object] has no method 'getResizeTarget'

mitchellsimoens
4 Apr 2014, 4:23 AM
Thanks for the report! I have opened a bug in our bug tracker.