diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 11:53:40 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 11:53:40 +0100 |
commit | df2abda814e8909136a27fdac136dc15e62fe429 (patch) | |
tree | 5fc85d6387e15fa94d9a089ec126bbb4243c0fe2 | |
parent | 05f9b4041942794eab74328b95bfbf04c7c9e203 (diff) | |
parent | bfee488c562f5302ae9665af6ff943ec809c0c2a (diff) | |
download | nextcloud-server-df2abda814e8909136a27fdac136dc15e62fe429.tar.gz nextcloud-server-df2abda814e8909136a27fdac136dc15e62fe429.zip |
Merge pull request #21438 from owncloud/settings-anchors
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 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 ); |