Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-20080] Build Button fails for jobs that require "Build…
… with Parameters"
  • Loading branch information
olivergondza committed Oct 16, 2013
1 parent 587c6fe commit 245a8bf
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -31,15 +31,17 @@ THE SOFTWARE.
<j:choose>
<j:when test="${job.parameterized}">
<j:set var="title" value="${%Schedule a build with parameters}"/>
<j:set var="onclick" value="${null}"/>
</j:when>
<j:otherwise>
<j:set var="title" value="${%Schedule a build}"/>
<j:set var="onclick" value="return build_${id}(this)"/>
</j:otherwise>
</j:choose>
<j:set var="icon" value="${app.queue.contains(job) ? 'clock_anime.gif' : 'clock.png'}"/>
<img src="${imagesURL}/${subIconSize}/${icon}"
title="${title}" alt="${title}"
onclick="return build_${id}(this)"
onclick="${onclick}"
border="0"/>
</a>
<script>
Expand Down

0 comments on commit 245a8bf

Please sign in to comment.