Skip to content

Commit

Permalink
Merge pull request #213 from shlomomdahan/JENKINS-74147
Browse files Browse the repository at this point in the history
[JENKINS-74147] Extract inline JS script in `SauceOnDemandBuildWrapper/config.jelly`
  • Loading branch information
alexh-sauce authored Dec 12, 2024
2 parents 7dc16b0 + c9585f2 commit 29c741c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@
</f:section>
</f:block>

<script LANGUAGE="JavaScript">
new Chosen($("webDriverBrowsers"));
new Chosen($("appiumBrowsers"));
</script>
<st:adjunct includes="hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.sauce-chosen-init"/>

</j:jelly>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener('DOMContentLoaded', function() {
new Chosen(document.getElementById('webDriverBrowsers'));
new Chosen(document.getElementById('appiumBrowsers'));
});

0 comments on commit 29c741c

Please sign in to comment.