Merge pull request #2343 from nextcloud/fix-exteranl-storage-redirect

[Minor] Fix link to external storage settings on error notification
This commit is contained in:
Joas Schilling 2016-11-27 09:02:26 +01:00 committed by GitHub
commit 7e6f829d54
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ OCA.External.StatusManager = {
} else {
OC.dialogs.confirm(t('files_external', 'There was an error with message: ') + mountData.error + '. Do you want to review mount point config in admin settings page?', t('files_external', 'External mount error'), function (e) {
if (e === true) {
OC.redirect(OC.generateUrl('/settings/admin#files_external'));
OC.redirect(OC.generateUrl('/settings/admin/externalstorages'));
}
});
}