-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.426.3
I recently upgraded the Jenkins server to 2.426.3 and the "keyboard-shortcut-plugin" stopped working. Nothing happens when I use the keyboard shortcuts.
Plugin page: https://plugins.jenkins.io/keyboard-shortcuts-plugin/
When Jenkins loads I see the below error message in browser console
keyboard-shortcuts.js:33 Uncaught TypeError: Event.observe is not a function at keyboard-shortcuts.js:33:9
Thanks for the report. The keyboard shortcuts plugin was last released 5 years ago. It uses the Prototype.js Javascript library that was removed from Jenkins core. The removal was started in May 2023 with an announcement blog post and completed in October 2023 with Jenkins 2.426.
You could modernize the plugin and switch it from Prototype.js to modern Javascript.
You could uninstall the plugin and accept that the plugin won't work with Jenkins versions 2.426 or newer.