Module: check_mk
Branch: master
Commit: 21e8f8ca4ed0cf793b45785914d85ba9844b8045
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=21e8f8ca4ed0cf…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Nov 8 16:57:59 2016 +0100
Unlock activation controls in case of an error during activation start
---
web/htdocs/js/wato.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index b5e3b20..bb9d945 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -607,7 +607,8 @@ function handle_start_activation(_unused, response_json)
var response = JSON.parse(response_json);
if (response.result_code == 1) {
- show_activation_error(response.result);
+ show_activation_error(response.result);
+ lock_activation_controls(false);
} else {
monitor_activation_progress(response.result.activation_id);
}