Module: check_mk
Branch: master
Commit: a427280f1288c2222f09b6fbc297745a65c32266
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a427280f1288c2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 21 10:08:32 2018 +0100
wato.js: Fixed identation
Change-Id: I9fe124b5ce8b8dc1185f1c5af0feb71a724d74c6
---
web/htdocs/js/wato.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index 9ce48e4..1b72e72 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -304,14 +304,14 @@ function handle_async_progress_update(handler_data, response_json)
} else {
handler_data.update_function(handler_data, response.result);
- if (!handler_data.is_finished_function(response.result)) {
+ if (!handler_data.is_finished_function(response.result)) {
setTimeout(function() {
- return monitor_async_progress(handler_data);
- }, 500);
- }
- else {
+ return monitor_async_progress(handler_data);
+ }, 500);
+ }
+ else {
handler_data.finish_function(response.result);
- }
+ }
}
}