} 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');
}
});
}
$anchor = str_replace(' ', '-', $anchor);
return array(
- 'anchor' => 'goto-' . $anchor,
+ 'anchor' => $anchor,
'section-name' => $sectionName,
'form' => $form
);
$anchor = str_replace(' ', '-', $anchor);
return array(
- 'anchor' => 'goto-' . $anchor,
+ 'anchor' => $anchor,
'section-name' => $sectionName,
'form' => $form
);