From 1b196e61a6a90ab2c550a5c5d0463f44e38cc1dc Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 21 Dec 2015 13:03:58 +0100 Subject: [PATCH] Ignore application-state requests on setup --- public/js/icinga/behavior/application-state.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/icinga/behavior/application-state.js b/public/js/icinga/behavior/application-state.js index 73c62e416..d8196124d 100644 --- a/public/js/icinga/behavior/application-state.js +++ b/public/js/icinga/behavior/application-state.js @@ -16,7 +16,11 @@ ApplicationState.prototype = new Icinga.EventListener(); ApplicationState.prototype.onRendered = function(e) { - if (! $('#application-state').length && ! $('#login').length && ! $('#guest-error').length) { + if (! $('#application-state').length + && ! $('#login').length + && ! $('#guest-error').length + && ! $('#setup').length + ) { var _this = e.data.self; $('#layout').append(