r1537 - branches/bxe_2_0/mozile

[email protected] Fri, 13 Oct 2006 11:35:16 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Fri Oct 13 11:35:16 2006
New Revision: 1537

Modified:
   branches/bxe_2_0/mozile/mozilekb.js
Log:
make ctrl+b open the ClipboardDialog

Modified: branches/bxe_2_0/mozile/mozilekb.js
==============================================================================
--- branches/bxe_2_0/mozile/mozilekb.js	(original)
+++ branches/bxe_2_0/mozile/mozilekb.js	Fri Oct 13 11:35:16 2006
@@ -142,8 +142,10 @@
 	}
 	else if(String.fromCharCode(event.charCode).toLowerCase() == "b")
 	{
-		bxe_bench();
-		return true;
+		if (BxeClipboardPasteDialog) {
+			BxeTextClipboard_OpenDialog(event);
+			return true;
+		}
 	}
 	else if(String.fromCharCode(event.charCode).toLowerCase() == "x")
 	{
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs