diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-01-04 12:59:32 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-01-04 12:59:32 +0100 |
commit | bfee488c562f5302ae9665af6ff943ec809c0c2a (patch) | |
tree | cdc08d62bf33b4589938a9d1535a7d1ea5add518 | |
parent | 157bb50a398be8a3e8ecc235068cae75e60495a6 (diff) | |
download | nextcloud-server-bfee488c562f5302ae9665af6ff943ec809c0c2a.tar.gz nextcloud-server-bfee488c562f5302ae9665af6ff943ec809c0c2a.zip |
remove unneeded 'goto' prefix from settings anchors
-rw-r--r-- | apps/files_external/js/statusmanager.js | 2 | ||||
-rw-r--r-- | settings/admin.php | 2 | ||||
-rw-r--r-- | settings/personal.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 4048bfc31bc..69c53a85302 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 9a714393585..d0a8f7840ad 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -177,7 +177,7 @@ $formsMap = array_map(function($form){ $anchor = str_replace(' ', '-', $anchor); return array( - 'anchor' => 'goto-' . $anchor, + 'anchor' => $anchor, 'section-name' => $sectionName, 'form' => $form ); |