Fix logout loop (testing)
If this commit breaks anyhting, feel free to revert it.
This commit is contained in:
parent
5b71d0b834
commit
5f7f0a9e89
|
@ -359,7 +359,7 @@
|
|||
url = parts.shift();
|
||||
var redirectionUrl = this.addUrlFlag(url, 'renderLayout');
|
||||
var r = this.loadUrl(redirectionUrl, $('#layout'));
|
||||
r.url = url;
|
||||
r.addToHistory = false;
|
||||
if (parts.length) {
|
||||
r.loadNext = parts;
|
||||
} else if (!! document.location.hash) {
|
||||
|
@ -620,7 +620,8 @@
|
|||
|
||||
if (typeof req.loadNext !== 'undefined' && req.loadNext.length) {
|
||||
if ($('#col2').length) {
|
||||
this.loadUrl(req.loadNext[0], $('#col2'));
|
||||
var r = this.loadUrl(req.loadNext[0], $('#col2'));
|
||||
r.addToHistory = req.addToHistory;
|
||||
this.icinga.ui.layout2col();
|
||||
} else {
|
||||
this.icinga.logger.error('Failed to load URL for #col2', req.loadNext);
|
||||
|
|
Loading…
Reference in New Issue