mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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…
x
Reference in New Issue
Block a user