r1602 - branches/bxe_2_0/mozile

[email protected] Sun, 5 Nov 2006 17:36:40 +0100 (CET)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Sun Nov  5 17:36:38 2006
New Revision: 1602

Modified:
   branches/bxe_2_0/mozile/mozCE.js
Log:
make default nodes instead of deleting them on table cells

Modified: branches/bxe_2_0/mozile/mozCE.js
==============================================================================
--- branches/bxe_2_0/mozile/mozCE.js	(original)
+++ branches/bxe_2_0/mozile/mozCE.js	Sun Nov  5 17:36:38 2006
@@ -221,8 +221,9 @@
 					if (! (par.XMLNode.vdom.bxeTabletype == "table-cell" || par.XMLNode.vdom.bxeTabletype == "table-col" )){
 						parpar.removeChild(par);
 					} else {
-						par.appendChild(document.createTextNode(" "));
-						par.removeChild(par.firstChild);
+						//par.appendChild(document.createTextNode(" "));
+						//par.removeChild(par.firstChild);
+						par.XMLNode.makeDefaultNodes();
 					}
 					
 				}
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs