File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
core/src/main/resources/lib/hudson/project
war/src/main/webapp/scripts Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ THE SOFTWARE.
2929
3030 <j : if test =" ${!newJobPage}" >
3131 <j : if test =" ${it.buildable}" >
32- <l : task href =" ${url}/build?delay=0sec" icon =" icon-clock icon-md" permission =" ${it.BUILD}" post =" ${!it.parameterized}" data-task-failure =" ${%buildFailed}" data-task-success =" ${%Build scheduled}" title =" ${it.buildNowText}" />
32+ <st : adjunct includes =" lib.hudson.project.configurable.configurable" />
33+ <l : 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-build-failure =" ${%buildFailed}" data-build-success =" ${%Build scheduled}" data-parameterized =" ${it.parameterized}" title =" ${it.buildNowText}" />
3334 </j : if >
3435 <j : choose >
3536 <j : when test =" ${h.hasPermission(it,it.CONFIGURE)}" >
Original file line number Diff line number Diff line change @@ -81,15 +81,9 @@ var Behaviour = (function () {
8181 } ,
8282
8383 start : function ( ) {
84- if ( document . addEventListener ) {
85- document . addEventListener ( "DOMContentLoaded" , function ( ) {
86- Behaviour . apply ( ) ;
87- } ) ;
88- } else {
89- Behaviour . addLoadEvent ( function ( ) {
90- Behaviour . apply ( ) ;
91- } ) ;
92- }
84+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
85+ Behaviour . apply ( ) ;
86+ } ) ;
9387 } ,
9488
9589 apply : function ( ) {
You can’t perform that action at this time.
0 commit comments