Feb 21, 2013, 4:56 PM
Try this
Ext.dd.DragDrop.override({
handleMouseDown: function(e, oDD){
var me = this,
activeEl;
if ((me.primaryButtonOnly && e.button != 0) || me.isLocked()) {
return;
}
me.DDMInstance.refreshCache(me.groups);
if (me.hasOuterHandles || me.DDMInstance.isOverTarget(e.getPoint(), me)) {
if (me.clickValidator(e)) {
activeEl = Ext.Element.getActiveElement();
// set the initial element position
me.setStartPosition();
me.b4MouseDown(e);
me.onMouseDown(e);
me.DDMInstance.handleMouseDown(e, me);
if (activeEl && activeEl != document.body) {
Ext.fly(activeEl).blur();
}
me.DDMInstance.stopEvent(e);
}
}
},
});