remove unneeded 'goto' prefix from settings anchors

This commit is contained in:
Jan-Christoph Borchardt 2016-01-04 12:59:32 +01:00
parent 157bb50a39
commit bfee488c56
3 changed files with 3 additions and 3 deletions

View File

@ -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');
}
});
}

View File

@ -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
);

View File

@ -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
);