r1659 - branches/bxe_2_0/js

[email protected] Wed, 18 Apr 2007 17:03:37 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Wed Apr 18 17:03:37 2007
New Revision: 1659

Log:
more checks for this..

Modified:
   branches/bxe_2_0/js/bxeFunctions.js

Modified: branches/bxe_2_0/js/bxeFunctions.js
==============================================================================
--- branches/bxe_2_0/js/bxeFunctions.js	(original)
+++ branches/bxe_2_0/js/bxeFunctions.js	Wed Apr 18 17:03:37 2007
@@ -2385,7 +2385,8 @@
 					var _attrNode = _existingNode.getAttributeNode(attr);
 					if (_attrNode) {
 						node.XMLNode = _attrNode.getXMLNode();
-						if (_existingNode.getXMLNode().vdom.attributes[attr].bxeNoteditable) {
+						var _e = _existingNode.getXMLNode();
+						if (_e && _e.vdom && _e.vdom.attributes && _e.vdom.attributes[attr] && _existingNode.getXMLNode().vdom.attributes[attr].bxeNoteditable) {
 							notEditable = true;
 						}
 					} else {
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs