mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
js: Correctly process the redirectUrl-meta tag for successful frame uploads
refs #8758
This commit is contained in:
parent
93fbb0231c
commit
5e1ea958b4
@ -160,7 +160,7 @@
|
|||||||
|
|
||||||
var $redirectMeta = $contents.find('meta[name="redirectUrl"]');
|
var $redirectMeta = $contents.find('meta[name="redirectUrl"]');
|
||||||
if ($redirectMeta.length) {
|
if ($redirectMeta.length) {
|
||||||
self.loadUrl($redirectMeta.attr('content'), $target);
|
self.redirectToUrl($redirectMeta.attr('content'), $target);
|
||||||
} else {
|
} else {
|
||||||
// Fetch the frame's new content and paste it into the target
|
// Fetch the frame's new content and paste it into the target
|
||||||
self.renderContentToContainer(
|
self.renderContentToContainer(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user