r1672 - branches/bxe_2_0/js

[email protected] Thu, 10 May 2007 16:51:32 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Thu May 10 16:51:32 2007
New Revision: 1672

Log:
handle on type vs. delete better

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	Thu May 10 16:51:32 2007
@@ -2648,7 +2648,7 @@
 			return true;
 		}
 	}
-	if (xmlnode.vdom.bxeDefaultcontent || xmlnode.vdom.bxeTabletype == "table-cell" || xmlnode.vdom.bxeTabletype == "table-col" ) {
+	if (makeDefault || xmlnode.vdom.bxeDefaultcontent || xmlnode.vdom.bxeTabletype == "table-cell" || xmlnode.vdom.bxeTabletype == "table-col" ) {
 		xmlnode.makeDefaultNodes();
 	} else {
 		xmlnode.parentNode.removeChild(xmlnode);
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs