Commit 099d7e2d authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: fix bug in ui, which could display 2 times "Building software"

parent f6c196fe
...@@ -234,6 +234,7 @@ function setRunningState(data) { ...@@ -234,6 +234,7 @@ function setRunningState(data) {
if ( $("#running").children('span').length === 0 ) { if ( $("#running").children('span').length === 0 ) {
$("#softrun").removeClass('slapos_run'); $("#softrun").removeClass('slapos_run');
$("#softrun").addClass('slapos_stop'); $("#softrun").addClass('slapos_stop');
if($("[class=software][id=running_info]").length === 0)
$("#running img").before('<p id="running_info" class="software">Building software...</p>'); $("#running img").before('<p id="running_info" class="software">Building software...</p>');
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment