mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
loader.js: Return in onComplete upon handled redirects
Got changed with f12a5741b8a4c53b7e5d94e43094e18d5a946934. 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')];
|
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…
x
Reference in New Issue
Block a user