]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unneeded 'goto' prefix from settings anchors
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 4 Jan 2016 11:59:32 +0000 (12:59 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 4 Jan 2016 11:59:32 +0000 (12:59 +0100)
apps/files_external/js/statusmanager.js
settings/admin.php
settings/personal.php

index 4048bfc31bc8fda6813a6ad0278852c21c8cf0f6..69c53a85302bdb5487318dc03cd54c735fb8a2f5 100644 (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');
                                                }
                                        });
                                }
index ae4340cf14f885fc8afc524324929224df3ad91d..d484d6a1e48cacfd2ce350c1ed3a565fba19e9f3 100644 (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
                );
index 9a714393585b38c91282ebaa37ddf538c6ba35e1..d0a8f7840ad61d8dc7c1a8564d1b9050c97a3a65 100644 (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
                );