[Dojo-checkins] r784 - src/xml

dojo-checkins at dojotoolkit.org dojo-checkins at dojotoolkit.org
Tue Jun 28 09:42:00 PDT 2005


Author: alex
Date: Tue Jun 28 09:41:59 2005
New Revision: 784

Modified:
   src/xml/domUtil.js
Log:
removing nodes created from text from the render tree after construction in order to prevent ID namespace collision


Modified: src/xml/domUtil.js
==============================================================================
--- src/xml/domUtil.js	(original)
+++ src/xml/domUtil.js	Tue Jun 28 09:41:59 2005
@@ -187,6 +187,7 @@
 				nodes.push(tn.childNodes[x].cloneNode(true));
 			}
 			tn.style.display = "none";
+			document.body.removeChild(tn);
 			return nodes;
 		}
 	} else if(dojo.render.svg.capable) {


More information about the Dojo-checkins mailing list