remove unneeded 'goto' prefix from settings anchors
This commit is contained in:
parent
157bb50a39
commit
bfee488c56
|
@ -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');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue