summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-11-23 11:00:36 +0100
committerPatrick Simianer <p@simianer.de>2015-11-23 11:00:36 +0100
commite5ebcc08c7125e4942d12965b19fcf2aedbe40be (patch)
tree6a24bd70963bcba39a163eaeaa5d4ccca3be78f5
parent2d844881e3c1e25728038fe531ff7e2e87b8f569 (diff)
lock g interface
-rw-r--r--js/lfpe.js4
1 files changed, 4 insertions, 0 deletions
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;
}
/*