disable other run options
This commit is contained in:
parent
f761ea0530
commit
1dd8ac7c16
|
@ -292,6 +292,8 @@ function updateStatus() {
|
||||||
if (response.result) {
|
if (response.result) {
|
||||||
$('#status').html(response.result.status)
|
$('#status').html(response.result.status)
|
||||||
$('button.run').attr({disabled: response.result.status == 'Active'})
|
$('button.run').attr({disabled: response.result.status == 'Active'})
|
||||||
|
$('button.run_from').attr({disabled: response.result.status == 'Active'})
|
||||||
|
$('button.continue_from').attr({disabled: response.result.status == 'Active'})
|
||||||
$('button.stop').attr({disabled: response.result.status != 'Active'})
|
$('button.stop').attr({disabled: response.result.status != 'Active'})
|
||||||
if (response.result.duration && response.result.status == 'Active') {
|
if (response.result.duration && response.result.status == 'Active') {
|
||||||
$('#duration').html(formatDuration(response.result.duration))
|
$('#duration').html(formatDuration(response.result.duration))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user