r1709 - branches/bxe_2_0/mozile
[email protected] Sun, 12 Aug 2007 16:40:13 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Sun Aug 12 16:40:13 2007
New Revision: 1709
Log:
WS only
Modified:
branches/bxe_2_0/mozile/mozCE.js
Modified: branches/bxe_2_0/mozile/mozCE.js
==============================================================================
--- branches/bxe_2_0/mozile/mozCE.js (original)
+++ branches/bxe_2_0/mozile/mozCE.js Sun Aug 12 16:40:13 2007
@@ -197,12 +197,10 @@
if(!cssr)
return;
- if(cssr.collapsed)
- {
+ if(cssr.collapsed) {
if (cssr.startContainer.nodeValue.strip().length == 1) {
try {
-
- var sel = window.getSelection();
+ var sel = window.getSelection();
cssr = this.getEditableRange();
var par = cssr.startContainer.parentNode.XMLNode._node;
par.normalize();
@@ -320,18 +318,13 @@
}
- }
-
- else
- {
+ } else {
//TESTME
this.fixFocus();
-
var xmlnode = bxe_getXMLNodeByHTMLNodeRecursive(this.anchorNode.parentNode);
if (xmlnode.betterNormalize) {
xmlnode.betterNormalize();
-
}
if (xmlnode.nodeType == 2) {
//FIXME 2.0
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs