PDA

View Full Version : [1.1.1] StatusProxy fix


si-rus
11-22-2007, 09:08 AM
When mouse button press and hold on the DragZone, after NO mouse moved and release button we see no correct visual effect - clone of element (drag elemet) fly from coordinates [-1000,-1000]

this code clear bug

StatusProxy.js


repair : function(xy, callback, scope){
var elxy=this.el.getXY();
if(elxy[0]<0||elxy[1]<0){
scope.dragging=false;
this.hide(true);
return
}
this.callback = callback;
this.scope = scope;
if(xy && this.animRepair !== false){
this.el.addClass("x-dd-drag-repair");
this.el.hideUnders(true);
this.anim = this.el.shift({
duration: this.repairDuration || .5,
easing: 'easeOut',
xy: xy,
stopFx: true,
callback: this.afterRepair,
scope: this
});
}else{
this.afterRepair();
}
},

mystix
11-22-2007, 09:56 AM
is this report for Ext 1.1.1 / 2.0rc1 / both?

si-rus
11-22-2007, 10:14 AM
I am use 1.1.1, in 2.0 did not check