- this.dropTarget = new Ext.dd.DropTarget(this.toolbar.getEl(), {
- notifyOver: this.notifyOver.createDelegate(this),
- notifyDrop: this.notifyDrop.createDelegate(this)
+ this.dropTarget = Ext.create('Ext.dd.DropTarget', this.toolbar.getEl(), {
+ notifyOver: Ext.Function.bind(this.notifyOver, this),
+ notifyDrop: Ext.Function.bind(this.notifyDrop, this)