AnitaTang / js-hotkeys

Automatically exported from code.google.com/p/js-hotkeys
0 stars 0 forks source link

The specified hotkey string should be in a fixed order #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $(document).bind('Keyup', 'shift + ctrl +   x',
function(evt){alert('shift+ctrl+x
pressed');evt.preventDefault();evt.stopPropagation(); return false;});
2. The event string is case sensitive.

What is the expected output? What do you see instead?
When pressed shift+ctrl+x combo keys, the alert didn't popup.

What version of the product are you using? On what operating system?
0.7.8

Please provide any additional information below.
the attachment fixed this issue. And the event and hotkeys are changed to
uncase-sensitive

Best Regards
Wen Shi

Original issue reported on code.google.com by shicour...@gmail.com on 26 Mar 2009 at 12:24

Attachments:

GoogleCodeExporter commented 8 years ago
modifiers are ordered alphabetically                     
that is: alt, ctrl, shift

Original comment by Afro.Sys...@gmail.com on 3 May 2009 at 7:29

GoogleCodeExporter commented 8 years ago

Original comment by Afro.Sys...@gmail.com on 3 May 2009 at 7:29