[Bug 117379] same event.keyCode for "+" and "=" on JavaScript Firefox

Thomas K. koudela at gmx.de
Mon May 28 16:10:09 UTC 2007


Public bug reported:

Binary package hint: firefox

By using the following code

window.onkeyup = function(evt){return alert(evt.keyCode);}

on pressing "+" the shown keyCode is "61", but on pressing "=" the shown
keyCode ist "61" too. But constant evt.DOM_VK_ADD is "107" and constant
evt.DOM_VK_EQUALS is "61". So obvisiously the returned keyCode on
pressing "+" is wrong.

ProblemType: Bug
Architecture: i386
Date: Mon May 28 17:57:38 2007
DistroRelease: Ubuntu 7.04
Package: firefox 2.0.0.3+1-0ubuntu2
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux erdelfe-ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
same event.keyCode for "+" and "=" on JavaScript Firefox
https://bugs.launchpad.net/bugs/117379
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug contact for firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list