r1571 - branches/bxe_2_0/js
[email protected] Tue, 24 Oct 2006 16:41:00 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Tue Oct 24 16:41:00 2006
New Revision: 1571
Modified:
branches/bxe_2_0/js/widget.js
Log:
some little adjustements
Modified: branches/bxe_2_0/js/widget.js
==============================================================================
--- branches/bxe_2_0/js/widget.js (original)
+++ branches/bxe_2_0/js/widget.js Tue Oct 24 16:41:00 2006
@@ -1151,9 +1151,11 @@
e.preventDefault();
e.stopPropagation();
if (BxeTextClipboard_keyhandler) {
- document.removeEventListener("keypress", BxeTextClipboard_keyhandler, true);
+ document.removeEventListener("keypress", BxeTextClipboard_keyhandler, true);
}
+ //var sel = window.getSelection();
+ // sel.collapse(document.documentElement.firstChild, 0);
}
@@ -1184,7 +1186,10 @@
this.hasTable.parentNode.appendChild(subm);
this.cssr = window.getSelection().getEditableRange();
subm.focus();
+ } else {
+ this.cssr = window.getSelection().getEditableRange();
}
+
if (!position) { position = "absolute";};
this.position(x,y, position);
this.draw();
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs