mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
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 = new Icinga.EventListener();
|
||||||
|
|
||||||
ApplicationState.prototype.onRendered = function(e) {
|
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;
|
var _this = e.data.self;
|
||||||
|
|
||||||
$('#layout').append(
|
$('#layout').append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user