r1428 - branches/bxe_2_0/mozile

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.