mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 10:27:46 +02:00
loader.js: Allow to use a separate target for redirections
This commit is contained in:
parent
0dbba4454b
commit
98c20e9feb
@ -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