Ignore application-state requests on setup
This commit is contained in:
parent
ca1f412080
commit
1b196e61a6
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue