Skip to content

Commit

Permalink
Merge pull request jenkinsci#5 from audacix/bugfix/js-not-working
Browse files Browse the repository at this point in the history
update config.jelly - adjust loading of js file
  • Loading branch information
ziontavera authored Feb 14, 2024
2 parents b26e2fb + 51dbaf3 commit 5c44bd6
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<f:entry title="${%Scan Type}" field="scanType">

<f:select default="web_app" id="scanTypeEntry" />
<f:select default="web_app" id="scanTypeEntry" onchange="updateFieldVisibility()" />
</f:entry>

<div id="webAppScanConfigFields" style="display: block;">
Expand All @@ -32,13 +32,13 @@

<div id="raiderFrameworks">
<f:entry title="${%Frameworks}" field="frameworks">
<f:select id="frameWorksEntry" multiple="true" />
<f:select id="frameWorksEntry" multiple="true" onchange="disableRaiderField()" />
</f:entry>
</div>

<div id="raiderServices">
<f:entry title="${%Services}" field="services">
<f:select id="servicesEntry" multiple="true" />
<f:select id="servicesEntry" multiple="true" onchange="disableRaiderField()" />
</f:entry>
</div>
</div>
Expand All @@ -58,6 +58,9 @@
</f:entry>
</div>

<st:adjunct includes="io.jenkins.plugins.cyberchief.ScanConfig"/>
<st:adjunct includes="io.jenkins.plugins.cyberchief.ScanConfig">
<script src="${rootURL}/static/io/jenkins/plugins/cyberchief/ScanConfig.js"></script>
</st:adjunct>

</j:jelly>

0 comments on commit 5c44bd6

Please # to comment.