Skip to content

Commit

Permalink
Update hudson-behavior.js
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Nov 15, 2021
1 parent e72b5fd commit 2e5c9c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions war/src/main/webapp/scripts/hudson-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2e5c9c9

Please sign in to comment.