r1428 - branches/bxe_2_0/mozile
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Tue Dec 20 18:03:55 2005
New Revision: 1428
Modified:
branches/bxe_2_0/mozile/mozCE.js
Log:
check if _pref exists
Modified: branches/bxe_2_0/mozile/mozCE.js
==============================================================================
--- branches/bxe_2_0/mozile/mozCE.js (original)
+++ branches/bxe_2_0/mozile/mozCE.js Tue Dec 20 18:03:55 2005
@@ -213,7 +213,12 @@
var _h = par.XMLNode._htmlnode;
var _pref = _h.previousSibling;
_h.parentNode.removeChild(_h);
- sel.collapse(_pref,_pref.nodeValue.length);
+ if (_pref) {
+ sel.collapse(_pref,_pref.nodeValue.length);
+
+
+ }
+ parpar.XMLNode.isNodeValid(true,2,true);
sel.collapseToStart();
bxe_Transform();
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs