r1751 - branches/bxe_2_0/js
[email protected] Thu, 13 Sep 2007 16:06:41 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Thu Sep 13 16:06:40 2007
New Revision: 1751
Log:
further fixes for fix BXEB-38
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 Sep 13 16:06:40 2007
@@ -2659,8 +2659,14 @@
}
xmlnode.split(_position+1);
if (xmlnode.nextSibling) {
- xmlnode.nextSibling.removeAttribute("__bxe_id");
- xmlnode.nextSibling.setBxeId();
+ if (xmlnode.nextSibling.nodeType == 3) {
+ var _n = xmlnode.nextSibling.parentNode;
+ _n.XMLNode.makeDefaultNodes();
+ } else {
+ var _n = xmlnode.nextSibling;
+ }
+ _n.removeAttribute("__bxe_id");
+ _n.setBxeId();
}
if (node) {
bxe_dump(xmlnode.localName + "\n");
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs