loader.js: Return in onComplete upon handled redirects
Got changed with f12a5741b8
. Triggering
rendered events for stuff that's never displayed doesn't seem right.
This commit is contained in:
parent
64b97ff150
commit
43c87d2388
|
@ -670,7 +670,9 @@
|
|||
delete this.requests[req.$target.attr('id')];
|
||||
this.icinga.ui.fadeNotificationsAway();
|
||||
|
||||
this.processRedirectHeader(req);
|
||||
if (this.processRedirectHeader(req)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeof req.loadNext !== 'undefined' && req.loadNext.length) {
|
||||
if ($('#col2').length) {
|
||||
|
|
Loading…
Reference in New Issue