From 1dd8ac7c16ea2df32269cf259114e5d5b4dba376 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 4 Dec 2018 16:26:22 +0100 Subject: [PATCH] disable other run options --- static/js/cccc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/cccc.js b/static/js/cccc.js index cb7fdf0..7e507a6 100644 --- a/static/js/cccc.js +++ b/static/js/cccc.js @@ -292,6 +292,8 @@ function updateStatus() { if (response.result) { $('#status').html(response.result.status) $('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'}) if (response.result.duration && response.result.status == 'Active') { $('#duration').html(formatDuration(response.result.duration))