dragEl.className = clickEl.className;
dragEl.style.color = this.DDM.getStyle(clickEl, "color");;
dragEl.style.backgroundColor = this.DDM.getStyle(clickEl, "backgroundColor");
+ dragEl.style.border = '0px';
var s = clickEl.style;
s.opacity = .1;
oDD = YAHOO.util.DDM.getBestMatch(id);
}
+
var el = this.getEl();
YAHOO.log("id="+id+" el = "+e+" x="+YAHOO.util.Dom.getXY(this.getDragEl()));
if(this.debug && inserttarget != null)YAHOO.log("moving "+this.getEl().id+" before "+inserttarget.getEl().id+" - parentNode="+this.getEl().parentNode.id);
+ if(this == inserttarget){
+ if(this.debug)YAHOO.log("Dropping on self, resetting");
+ this.endDrag();
+ return;
+ }
//remove from document
if(this.getEl().parentNode != null)