File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
core/src/main/resources/lib/hudson/project Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ THE SOFTWARE.
3030 <j : if test =" ${!newJobPage}" >
3131 <j : if test =" ${it.buildable}" >
3232 <st : adjunct includes =" lib.hudson.project.configurable.configurable" />
33- <l : task href =" #" data-task-href =" ${url}/build?delay=0sec" icon =" icon-clock icon-md" permission =" ${it.BUILD}" post =" ${!it.parameterized}" data-callback =" lib_hudson_project_configurable_build_now_callback" data-task-failure =" ${%buildFailed}" data-task-success =" ${%Build scheduled}" data-parameterized =" ${it.parameterized}" title =" ${it.buildNowText}" />
33+ <j : set var =" buildUrl" value =" ${url}/build?delay=0sec" />
34+ <j : set var =" taskHref" value =" ${it.parameterized ? buildUrl : '#'}" />
35+ <l : task href =" ${taskHref}" data-task-href =" ${buildUrl}" icon =" icon-clock icon-md" permission =" ${it.BUILD}" post =" ${!it.parameterized}" data-callback =" lib_hudson_project_configurable_build_now_callback" data-task-failure =" ${%buildFailed}" data-task-success =" ${%Build scheduled}" data-parameterized =" ${it.parameterized}" title =" ${it.buildNowText}" />
3436 </j : if >
3537 <j : choose >
3638 <j : when test =" ${h.hasPermission(it,it.CONFIGURE)}" >
You can’t perform that action at this time.
0 commit comments