event processor for onmouseup
if(this.avatar && (!("mouseButton" in this.source) || this.source.mouseButton == e.button)){ if(this.target && this.canDropFlag){ var params = [this.source, this.nodes, Boolean(this.source.copyState(dojo.dnd.getCopyKeyState(e))), this.target]; dojo.publish("/dnd/drop/before", params); dojo.publish("/dnd/drop", params); }else{ dojo.publish("/dnd/cancel"); } this.stopDrag(); }