Wyłapywanie tylko znanych skrótów klawiszowych.
authorzuber <marek@stepniowski.com>
Wed, 19 Aug 2009 21:50:09 +0000 (23:50 +0200)
committerzuber <marek@stepniowski.com>
Wed, 19 Aug 2009 21:50:09 +0000 (23:50 +0200)
project/templates/explorer/file_xml.html

index 719713e..727dc12 100644 (file)
@@ -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();
                 }