From: zuber Date: Wed, 19 Aug 2009 21:50:09 +0000 (+0200) Subject: Wyłapywanie tylko znanych skrótów klawiszowych. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/e00bd359ecafb0b13852a8da65d1e78fd8be042c?ds=sidebyside;hp=--cc Wyłapywanie tylko znanych skrótów klawiszowych. --- e00bd359ecafb0b13852a8da65d1e78fd8be042c diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 719713e6..727dc122 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -83,7 +83,9 @@ if (keys[event.keyCode]) { keys[event.keyCode](); } - }, function(event) { return event.ctrlKey && event.keyCode != 17; }); + }, function(event) { + return event.ctrlKey && keys[event.keyCode]; + }); resizePanels(); }