Skip Menu |

This queue is for tickets about the Devel-hdb CPAN distribution.

Report information
The Basics
Id: 89544
Status: resolved
Priority: 0/
Queue: Devel-hdb

People
Owner: Nobody in particular
Requestors: PWES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.09
Fixed in: (no value)



Subject: Make keypresses handling more cross-browser
Shortcuts handling in debugger.js is based on the value of keyCode property in the fired event. However, this is known to not work in some browsers (e.g. in Firefox 24 it is always =0 and one should use charCode instead). jQuery wraps those incompatibilities and adds "which" property that contains the keyCode|cahrCode|anythingelse related to the key being pressed: Show quoted text
To determine which character was entered, examine the event object that is passed to the handler function. While browsers use differing properties to store this information, jQuery normalizes the .which property so you can reliably use it to retrieve the character code. <<<
On Wed Oct 16 03:07:47 2013, PWES wrote: Show quoted text
> jQuery wraps those incompatibilities and adds "which" property that > contains the keyCode|cahrCode|anythingelse related to the key being > pressed:
Thanks for the bug report. It should be fixed by commit e49734 on the master branch at github https://github.com/amb43790/Devel-hdb I'll probably release a new version on CPAN later this week; there have been several small, important fixes the last few days.
Devel::hdb 0.10 is out on cpan and includes this fix