Redirect to correct URL after updating

Now requires a trailing slash to make sure we don't land on the
forbidden page.
This commit is contained in:
Vincent Petry 2015-12-07 18:08:00 +01:00
parent bec34f1275
commit 69ab047f89
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@
.append(t('core', 'The update was successful. Redirecting you to ownCloud now.'))
.appendTo($el);
setTimeout(function () {
OC.redirect(OC.webroot);
OC.redirect(OC.webroot + '/');
}, 3000);
}
});