Merge pull request #21438 from owncloud/settings-anchors

remove unneeded 'goto' prefix from settings anchors
This commit is contained in:
Thomas Müller 2016-01-11 11:53:40 +01:00
commit df2abda814
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

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