PDA

View Full Version : [FIXED-1048] Bug in Ext.Window ghost()?



lesterchan
13 Jun 2010, 8:20 PM
Hey All,

I don't know whether this is a bug.

In Ext.Window when implementing startDrag() the line
this.proxy = w.ghost(); does not pass in the cls name to ghost().



// private - used for dragging
ghost : function(cls){
var ghost = this.createGhost(cls);
var box = this.getBox(true);
ghost.setLeftTop(box.x, box.y);
ghost.setWidth(box.width);
this.el.hide();
this.activeGhost = ghost;
return ghost;
}

And hence the ghost class will not contain the cls class specified in the window configuration.