From 2e5c9c97e74cc0078a84c11e5b8f0f2e95fbf370 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 15 Nov 2021 00:13:50 +0000 Subject: [PATCH] Update hudson-behavior.js --- war/src/main/webapp/scripts/hudson-behavior.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index 594ef8e8326a..6fec3e766860 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -1044,6 +1044,13 @@ function rowvgStartEachRow(recursive,f) { e.parentNode.parentNode.addClassName('has-help'); }); + // legacy class name + Behaviour.specify("A.help-button", "a-help-button", ++p, function(e) { + e.onclick = helpButtonOnClick; + e.tabIndex = 9999; // make help link unnavigable from keyboard + e.parentNode.parentNode.addClassName('has-help'); + }); + // Script Console : settings and shortcut key Behaviour.specify("TEXTAREA.script", "textarea-script", ++p, function(e) { (function() {