r1535 - branches/bxe_2_0/js
[email protected] Thu, 5 Oct 2006 13:40:34 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Thu Oct 5 13:40:33 2006
New Revision: 1535
Modified:
branches/bxe_2_0/js/bxeFunctions.js
Log:
add Paste from Extern to context
Modified: branches/bxe_2_0/js/bxeFunctions.js
==============================================================================
--- branches/bxe_2_0/js/bxeFunctions.js (original)
+++ branches/bxe_2_0/js/bxeFunctions.js Thu Oct 5 13:40:33 2006
@@ -667,7 +667,12 @@
var menui = popup.addMenuItem(bxe_i18n.getText("Edit {0} Attributes",new Array(node.vdom.bxeName)), mozilla.getWidgetGlobals().EditAttributes.popup);
menui.MenuPopup._node = node._node;
}
-
+ if (BxeClipboardPasteDialog) {
+ popup.addMenuItem(bxe_i18n.getText("Paste from Extern", new Array(node.vdom.bxeName)), function (e) {
+ BxeTextClipboard_OpenDialog(e);
+ });
+ }
+
popup.addMenuItem(bxe_i18n.getText("Copy {0} Element", new Array(node.vdom.bxeName)), function (e) {
var widget = e.currentTarget.Widget;
var delNode = widget.MenuPopup.MainNode;
@@ -2020,8 +2025,8 @@
document.removeEventListener("keypress", keyPressHandler, true);
//key up and down handlers are needed for interapplication copy/paste without having native-methods access
//if you're sure you have native-methods access you can turn them off
- document.removeEventListener("keydown", keyDownHandler, true);
- document.removeEventListener("keyup", keyUpHandler, true);
+ //document.removeEventListener("keydown", keyDownHandler, true);
+ //document.removeEventListener("keyup", keyUpHandler, true);
}
function bxe_insertContent(content, replaceNode, options) {
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs