r1579 - branches/bxe_2_0/js
[email protected] Thu, 26 Oct 2006 10:26:51 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Thu Oct 26 10:26:50 2006
New Revision: 1579
Modified:
branches/bxe_2_0/js/widget.js
Log:
fix cancel cursor
Modified: branches/bxe_2_0/js/widget.js
==============================================================================
--- branches/bxe_2_0/js/widget.js (original)
+++ branches/bxe_2_0/js/widget.js Thu Oct 26 10:26:50 2006
@@ -1178,7 +1178,11 @@
document.removeEventListener("keypress", BxeTextClipboard_keyhandler, true);
}
bxe_registerKeyHandlers();
-
+ if (e.target.Widget.cssr) {
+ var sel = window.getSelection();
+ sel.selectEditableRange(e.target.Widget.cssr);
+ }
+
e.target.Widget.hide();
}, false);
this.hasTable.parentNode.appendChild(cancel);
@@ -1244,7 +1248,6 @@
Widget_ModalAttributeBox.prototype.drawAttributes = function(xmlnode) {
var attr = xmlnode.vdom.attributes;
-
var text = "";
var description = new Array();
for (var i in attr) {
@@ -1317,6 +1320,7 @@
}
}
} catch (e) { bxe_catch_alert(e);}
+
xmlnode.parentNode.isNodeValid(true,2,true);
bxe_Transform(false,false,xmlnode.parentNode);
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs