mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
loader.js: Allow to use a separate target for redirections
This commit is contained in:
parent
0e5e046ae5
commit
c0cac6fe3c
@ -279,6 +279,7 @@
|
||||
});
|
||||
|
||||
req.$target = $target;
|
||||
req.$redirectTarget = $target;
|
||||
req.url = url;
|
||||
req.done(this.onResponse);
|
||||
req.fail(this.onFailure);
|
||||
@ -464,7 +465,7 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
this.redirectToUrl(redirect, req.$target, req);
|
||||
this.redirectToUrl(redirect, req.$redirectTarget, req);
|
||||
return true;
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user