r1341 - trunk/js

[email protected]
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Wed Jun 15 16:58:09 2005
New Revision: 1341

Modified:
   trunk/js/bxeFunctions.js
Log:
fix for bug http://bugs.bitflux.ch/cgi-bin/bugzilla/show_bug.cgi?id=794
Namespace error with standalone <xhtml:object>

Modified: trunk/js/bxeFunctions.js
==============================================================================
--- trunk/js/bxeFunctions.js	(original)
+++ trunk/js/bxeFunctions.js	Wed Jun 15 16:58:09 2005
@@ -1872,7 +1872,9 @@
 	if (childNode) {
 		if (attribs) {
 			for (var i = 0; i < attribs.length ;  i++) {
-				childNode.setAttributeNS(attribs[i].namespaceURI, attribs[i].localName,attribs[i].value);
+				if (attribs[i].namespaceURI != XMLNS) {
+					childNode.setAttributeNS(attribs[i].namespaceURI, attribs[i].localName,attribs[i].value);
+				}
 			}
 		}
 		newNode.appendChild(childNode);
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.