hoangduit / editease

Automatically exported from code.google.com/p/editease
0 stars 0 forks source link

Prevent inadvertant use of browser shortut keys from killing the modal window #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using shortcut keys in browser

Accidentally hitting cmd left or right arrow or cmd [ or ] depending on
platform and browser will kill the simplemodal window and with that you
loose your edit.  

If possible, it would be nice to disable these shortcuts while in the modal
edit window.

Original issue reported on code.google.com by schli...@gmail.com on 21 Dec 2009 at 8:14

GoogleCodeExporter commented 8 years ago
Not a huge fan of overriding shortcut keys as that takes away the users 
control.  

Easy enough to change if you need, just add some jQuery bind handlers to the 
shortcut 
keys you wish to stop, then do an unbind when you give control back to the user.

Original comment by noosal...@gmail.com on 5 Jan 2010 at 4:43

GoogleCodeExporter commented 8 years ago

Original comment by noosal...@gmail.com on 6 Jan 2010 at 12:38

GoogleCodeExporter commented 8 years ago

Original comment by noosal...@gmail.com on 14 Mar 2010 at 12:16