From e5ebcc08c7125e4942d12965b19fcf2aedbe40be Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 23 Nov 2015 11:00:36 +0100 Subject: lock g interface --- js/lfpe.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/lfpe.js b/js/lfpe.js index fda5c5a..23ea7a9 100644 --- a/js/lfpe.js +++ b/js/lfpe.js @@ -102,6 +102,8 @@ function working() button.setAttribute("disabled", "disabled"); pause_button.setAttribute("disabled", "disabled"); target_textarea.setAttribute("disabled", "disabled"); + + DE_locked = true; } function not_working(fadein=true) { @@ -131,6 +133,8 @@ function not_working(fadein=true) // enable buttons document.getElementById("next").removeAttribute("disabled"); document.getElementById("pause_button").removeAttribute("disabled"); + + DE_locked = false; } /* -- cgit v1.2.3