r1331 - branches/bxe_2_0/js

[email protected]
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Tue Jun  7 13:18:05 2005
New Revision: 1331

Modified:
   branches/bxe_2_0/js/widget.js
Log:
fix for http://bugzilla.bitflux.ch/show_bug.cgi?id=791. thanks to [email protected]

Modified: branches/bxe_2_0/js/widget.js
==============================================================================
--- branches/bxe_2_0/js/widget.js	(original)
+++ branches/bxe_2_0/js/widget.js	Tue Jun  7 13:18:05 2005
@@ -654,7 +654,7 @@
 	}
 	
 	node = node.XMLNode;
-	if (node.nodeType == Node.ATTRIBUTE_NODE) {
+	if (node && node.nodeType == Node.ATTRIBUTE_NODE) {
 		node = node.parentNode;
 	}
 	this.node.removeAllChildren();
-- 
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.