r1674 - branches/bxe_2_0/js

[email protected] Mon, 14 May 2007 14:55:07 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Mon May 14 14:55:07 2007
New Revision: 1674

Log:
noteditable context menu is special for attribute nodes

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	Mon May 14 14:55:07 2007
@@ -2408,7 +2408,8 @@
 				}
 				
 				if (notEditable) {
-					if (!node.XMLNode.vdom.bxeNoteditableContextMenu) {
+					
+					if (node.XMLNode.nodeType != 2 && !node.XMLNode.vdom.bxeNoteditableContextMenu) {
 						node.removeAttribute("__bxe_id");
 						node.XMLNode = null;
 						
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs