|
|
@ -339,6 +339,8 @@ function updateStatus() { |
|
|
|
$('#status').html(response.result.status) |
|
|
|
$('button.run').attr({disabled: response.result.status == 'Active'}) |
|
|
|
$('button.run_from').attr({disabled: disabled}) |
|
|
|
$('button.loop').attr({disabled: disabled}) |
|
|
|
$('button.hour_loop').attr({disabled: disabled}) |
|
|
|
$('button.continue_from').attr({disabled: disabled}) |
|
|
|
$('button.stop').attr({disabled: response.result.status != 'Active'}) |
|
|
|
if (response.result.duration && response.result.status == 'Active') { |
|
|
|