Merge pull request #3766 from Icinga/fix/dont-trigger-rendered-event-for-redirects
loader.js: Return in onComplete upon handled redirects
This commit is contained in:
commit
3b82fffca9
|
@ -670,7 +670,9 @@
|
||||||
delete this.requests[req.$target.attr('id')];
|
delete this.requests[req.$target.attr('id')];
|
||||||
this.icinga.ui.fadeNotificationsAway();
|
this.icinga.ui.fadeNotificationsAway();
|
||||||
|
|
||||||
this.processRedirectHeader(req);
|
if (this.processRedirectHeader(req)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof req.loadNext !== 'undefined' && req.loadNext.length) {
|
if (typeof req.loadNext !== 'undefined' && req.loadNext.length) {
|
||||||
if ($('#col2').length) {
|
if ($('#col2').length) {
|
||||||
|
|
Loading…
Reference in New Issue