disable loop/hloop

This commit is contained in:
j 2021-11-23 18:08:43 +01:00
parent 8d9af8d917
commit 92a1cc4c9f

View File

@ -339,6 +339,8 @@ function updateStatus() {
$('#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: disabled}) $('button.run_from').attr({disabled: disabled})
$('button.loop').attr({disabled: disabled})
$('button.hour_loop').attr({disabled: disabled})
$('button.continue_from').attr({disabled: disabled}) $('button.continue_from').attr({disabled: disabled})
$('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') {