Ignore application-state requests on setup

This commit is contained in:
Eric Lippmann 2015-12-21 13:03:58 +01:00
parent ca1f412080
commit 1b196e61a6
1 changed files with 5 additions and 1 deletions

View File

@ -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(