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"]');
|
||||
if ($redirectMeta.length) {
|
||||
self.loadUrl($redirectMeta.attr('content'), $target);
|
||||
self.redirectToUrl($redirectMeta.attr('content'), $target);
|
||||
} else {
|
||||
// Fetch the frame's new content and paste it into the target
|
||||
self.renderContentToContainer(
|
||||
|
|
Loading…
Reference in New Issue