r1637 - branches/bxe_2_0/js

[email protected] Thu, 16 Nov 2006 09:49:09 +0100 (CET)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Thu Nov 16 09:49:07 2006
New Revision: 1637

Modified:
   branches/bxe_2_0/js/bxeFunctions.js
Log:
added a better normalize to clean node

Modified: branches/bxe_2_0/js/bxeFunctions.js
==============================================================================
--- branches/bxe_2_0/js/bxeFunctions.js	(original)
+++ branches/bxe_2_0/js/bxeFunctions.js	Thu Nov 16 09:49:07 2006
@@ -747,6 +747,8 @@
 			}
 			
 			delNode._node.removeElementOnly();
+			 
+			par._node.betterNormalize();
 			bxe_Transform(false,false,par);
 		}, bxe_i18n.getText("Removes the Element, but not its children"));
 	}
@@ -1251,7 +1253,7 @@
 	e.stopPropagation();
 	var target = e.currentTarget;
 	if(target.userModifiable && bxe_editable_page) {
-		return bxe_updateXPath(e.currentTarget);
+		return bxe_updateXPath(target);
 	}
 	return true;
 }
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs