Skip to content

Commit

Permalink
[JENKINS-73886] Remove inline JS in ScriptlerManagement/runScript.jelly
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavafenkin authored and basil committed Oct 10, 2024
1 parent a157cb6 commit d80c089
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ THE SOFTWARE.
</tr>
</table>

<textarea id="script" name="script" class="${h.isUnitTest ? '' : 'script'}">
<textarea id="script" autofocus="" name="script" class="${h.isUnitTest ? '' : 'script'}">
<j:choose>
<j:when test="${scriptNotFound}">
${%ScriptNotFound}
Expand All @@ -121,7 +121,6 @@ THE SOFTWARE.
<div align="right">
<f:submit value="${%Run}" name="run" />
</div>
<script>document.getElementById('script').focus();</script>
</form>
<j:if test="${output!=null}">
<h2>${%Result}</h2>
Expand Down

0 comments on commit d80c089

Please sign in to comment.