context: 	onDragEnd : function(nwPosition, sePosition, nwOffset, seOffset) {		var item = this;		var opts = item.dragOptions;		if (item.initialized) {			/* Execute onDrop for container */			var dropItem = DragDrop.currentContainer;			if (dropItem && typeof(dropItem.dropOptions.onDrop) != "undefined") {				var dropOptions = dropItem.dropOptions;				if (DragDrop.accepts(item, dropItem)) {					dropOptions.onDrop(item, nwPosition, sePosition, nwOffset, seOffset);					dropItem.className = dropOptions.origClassName;					Element.removeClassName(dropItem, dropItem.dropOptions.hoverclass);				}				else {					dropOptions.onDrop(item, nwPosition, sePosition, nwOffset, seOffset);				}								if (dropOptions.inheritParent) {					dropItem.style.height = "";				}			}						if (item.dragOptions.highlightDropzones) {				DropZone.dropList.foreach(function(item, index) {					Element.removeClassName(item, item.dropOptions.hoverclass);				})			}			var clone = DragDrop.clone;			var container = clone.parentNode;			if (opts.keepClone) {				DragDrop.create(clone, clone.dragOptions);				item.style.zIndex = "";			}			else {				if (opts.revert) {					/* Snap back to original position					 */					item.parentNode.removeChild(item);					item.style.width = opts.origWidth;					item.style.height = opts.origHeight;					item.style.position = opts.origPosition;					item.style.left = "";					item.style.top = "";					clone.style.display = "none";					container.insertBefore(item, clone);				}				container.removeChild(clone);			}			changeOpacity(item, 100);			item.style.zIndex = "";			opts.scrollOffset = new Coordinate(0,0);						if (is_ie) {				setSelectVisibility("visible");			}						// restore original options (if changed)			opts.revert = opts.origRevert;			item.initialized = false;			item.wasClicked = false;		}		else {			/* Item was not dragged.  Treat as onClick event */			item.wasClicked = true;		}	}
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/67a7bb8a3560bdfa9ab3a7ce8aec27244d627447/dragdropzone.js/buggy/portal-web/docroot/html/js/dragdrop/dragdropzone.js