keyboard shortcut no longer working in webapp after FF19 was installed
I work with a company webapp that uses the keyboard shortcut Shift+F9 to populate text boxes. Prior to Firefox version 19 upgrade on my Windows 7 PC, the shortcut worked just fine. After the upgrade, the shortcut stopped working. I have uninstalled it and reinstalled it, still shortcut does not work. I have run in Safe mode, still no shortcut. Disabled Add-ons, still no shortcut.
I uninstalled FF19 altogether and installed FF18. The shortcut worked just fine once again. All Add-ons intact. FF auto upgraded itself to ver 19 and the shortcut stopped working again.
I also use IE8 with the same webapp and the shortcut works just fine. Any reason why FF19 has disabled this shortcut feature? I asked our company admin of the webapp we use and he has not heard of this issue happening until now.
Все ответы (1)
This is difficult to sort out without hands on access to the webapp. I think Firefox should still allows your webapp to detect the Shift+F9, or at least it does in this simple example:
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>Test Shift+F9</title> </head> <body> <p>Try Shift+F9<br><input type="text" name="textinput" size="25" value="sample value"></p> <script type="text/javascript"> function keys(key){ if (!key) { key = window.event; key.which = key.keyCode; } if (key.which == 120){ // F9 key if (key.shiftKey){ alert("Shift+F9 pressed!"); } else { alert("F9 pressed without Shift!"); } } return false; } document.onkeyup = keys; document.body.focus(); </script> </body> </html>
It's possible that a change in Firefox 19 is interfering with the function triggered by the Shift+F9 keyboard shortcut. Is there another way to run it to see whether that might be the case?
Изменено