rem: var node = this.domNode.cloneNode(true); if(this.dragClass) { dojo.html.addClass(node, this.dragClass); } if(this.opacity < 1) { dojo.html.setOpacity(node, this.opacity); } if(node.tagName.toLowerCase() == "tr"){   var doc = this.domNode.ownerDocument; var table = doc.createElement("table"); var tbody = doc.createElement("tbody"); table.appendChild(tbody); tbody.appendChild(node); 
add: var node = this.domNode.cloneNode(true); if(this.dragClass) { dojo.html.addClass(node, this.dragClass); } if(this.opacity < 1) { dojo.html.setOpacity(node, this.opacity); } var ltn = node.tagName.toLowerCase(); var isTr = (ltn == "tr"); if((isTr)||(ltn == "tbody")){   var doc = this.domNode.ownerDocument; var table = doc.createElement("table"); if(isTr){ var tbody = doc.createElement("tbody"); table.appendChild(tbody); tbody.appendChild(node); }else{ table.appendChild(node); } 
context: 	createDragNode: function() {		var node = this.domNode.cloneNode(true);		if(this.dragClass) { dojo.html.addClass(node, this.dragClass); }		if(this.opacity < 1) { dojo.html.setOpacity(node, this.opacity); }		if(node.tagName.toLowerCase() == "tr"){			// dojo.debug("Dragging table row")			// Create a table for the cloned row			var doc = this.domNode.ownerDocument;			var table = doc.createElement("table");			var tbody = doc.createElement("tbody");			table.appendChild(tbody);			tbody.appendChild(node);			// Set a fixed width to the cloned TDs			var domTds = this.domNode.childNodes;			var cloneTds = node.childNodes;			for(var i = 0; i < domTds.length; i++){			    if((cloneTds[i])&&(cloneTds[i].style)){				    cloneTds[i].style.width = dojo.html.getContentBox(domTds[i]).width + "px";			    }			}			node = table;		}		if((dojo.render.html.ie55||dojo.render.html.ie60) && this.createIframe){			with(node.style) {				top="0px";				left="0px";			}			var outer = document.createElement("div");			outer.appendChild(node);			this.bgIframe = new dojo.html.BackgroundIframe(outer);			outer.appendChild(this.bgIframe.iframe);			node = outer;		}		node.style.zIndex = 999;		return node;	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/HtmlDragAndDrop.js/buggy/www/resources/dojo-ajax/src/dnd/HtmlDragAndDrop.js