r1553 - in branches/bxe_2_0: mozile plugins
[email protected] Wed, 18 Oct 2006 16:41:02 +0200 (CEST)
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Wed Oct 18 16:41:02 2006
New Revision: 1553
Modified:
branches/bxe_2_0/mozile/mozilekb.js
branches/bxe_2_0/plugins/ClipboardPasteDialog.js
Log:
space also allowed
Modified: branches/bxe_2_0/mozile/mozilekb.js
==============================================================================
--- branches/bxe_2_0/mozile/mozilekb.js (original)
+++ branches/bxe_2_0/mozile/mozilekb.js Wed Oct 18 16:41:02 2006
@@ -140,7 +140,7 @@
bxe_Transform();
return true;
}
- else if(String.fromCharCode(event.charCode).toLowerCase() == "b")
+ else if(String.fromCharCode(event.charCode) == " " || String.fromCharCode(event.charCode) == "b")
{
if (BxeClipboardPasteDialog) {
BxeTextClipboard_OpenDialog(event);
Modified: branches/bxe_2_0/plugins/ClipboardPasteDialog.js
==============================================================================
--- branches/bxe_2_0/plugins/ClipboardPasteDialog.js (original)
+++ branches/bxe_2_0/plugins/ClipboardPasteDialog.js Wed Oct 18 16:41:02 2006
@@ -81,7 +81,7 @@
var _char = String.fromCharCode(event.charCode);
if (_char == "v") {
- } else if(_char == "b") {
+ } else if(_char == " " || _char == "b") {
event.stopPropagation();
event.returnValue = false;
event.preventDefault();
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs