js: Correctly process the redirectUrl-meta tag for successful frame uploads

refs #8758
This commit is contained in:
Johannes Meyer 2015-07-21 16:38:52 +02:00
parent 93fbb0231c
commit 5e1ea958b4
1 changed files with 1 additions and 1 deletions

View File

@ -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(