From 92a1cc4c9fae2e0b6a3b1c53786b52705bfbc53f Mon Sep 17 00:00:00 2001 From: j Date: Tue, 23 Nov 2021 18:08:43 +0100 Subject: [PATCH] disable loop/hloop --- static/js/cccc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/cccc.js b/static/js/cccc.js index 7eb846b..3801af2 100644 --- a/static/js/cccc.js +++ b/static/js/cccc.js @@ -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') {