summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/js/statusmanager.js2
-rw-r--r--settings/admin.php2
-rw-r--r--settings/personal.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index 6137b7d89e6..03289e29900 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -177,7 +177,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 personal settings page?', t('files_external', 'External mount error'), function(e){
if(e === true) {
- window.location.href = OC.generateUrl('/settings/personal#' + t('files_external', 'goto-external-storage'));
+ window.location.href = OC.generateUrl('/settings/personal#external-storage');
}
});
}
diff --git a/settings/admin.php b/settings/admin.php
index ae4340cf14f..d484d6a1e48 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -210,7 +210,7 @@ $formsMap = array_map(function ($form) {
$anchor = str_replace(' ', '-', $anchor);
return array(
- 'anchor' => 'goto-' . $anchor,
+ 'anchor' => $anchor,
'section-name' => $sectionName,
'form' => $form
);
diff --git a/settings/personal.php b/settings/personal.php
index e5ceb1b4fb5..c4e1c057bf3 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -176,7 +176,7 @@ $formsMap = array_map(function($form){
$anchor = str_replace(' ', '-', $anchor);
return array(
- 'anchor' => 'goto-' . $anchor,
+ 'anchor' => $anchor,
'section-name' => $sectionName,
'form' => $form
);