提交 245a8bf2 编写于 作者: O Oliver Gondža

[FIXED JENKINS-20080] Build Button fails for jobs that require "Build with Parameters"

上级 587c6fe3
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册