Skip to content

Commit

Permalink
[JENKINS-74035] Extract inline script from `ActiveDirectorySecurityRe…
Browse files Browse the repository at this point in the history
…alm/configAdvanced.jelly` (#210)
  • Loading branch information
yaroslavafenkin authored Nov 4, 2024
1 parent af28000 commit 1c3efa6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
window.addEventListener("DOMContentLoaded", function(event) {
document.getElementsByName("_.bindPassword")[0].autocomplete = "off";
document.getElementsByName("_.bindName")[0].autocomplete = "off";
});
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,5 @@
<f:repeatableProperty field="environmentProperties" />
</f:entry>
</f:advanced>
<script type="text/javascript" >
document.addEventListener("DOMContentLoaded", function(event) {
document.getElementsByName("_.bindPassword")[0].autocomplete = "off";
document.getElementsByName("_.bindName")[0].autocomplete = "off";
});
</script>
<st:adjunct includes="hudson.plugins.active_directory.ActiveDirectorySecurityRealm.ad-turn-off-autocomplete"/>
</j:jelly>

0 comments on commit 1c3efa6

Please sign in to comment.