summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-11-11 18:26:42 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-11-12 10:42:44 +0100
commitc5c74792d1314f32d4513841fafbfeea4ed9658c (patch)
tree34f8652680dd39b129f712e159d08f591eb9aaff
parent3ecb3f16bf51bf2b691292212e72081c6353a3d4 (diff)
downloadnextcloud-server-c5c74792d1314f32d4513841fafbfeea4ed9658c.tar.gz
nextcloud-server-c5c74792d1314f32d4513841fafbfeea4ed9658c.zip
add 'namespace' for automatically created navigation divs, fixes #12080
-rw-r--r--settings/admin.php2
-rw-r--r--settings/personal.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/admin.php b/settings/admin.php
index d58b9a597b9..683c7f61659 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -92,7 +92,7 @@ $formsMap = array_map(function ($form) {
$anchor = str_replace(' ', '-', $anchor);
return array(
- 'anchor' => $anchor,
+ 'anchor' => 'goto-' . $anchor,
'section-name' => $sectionName,
'form' => $form
);
diff --git a/settings/personal.php b/settings/personal.php
index 9c27f77ccd3..bef800ae7f1 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -114,7 +114,7 @@ $formsMap = array_map(function($form){
$anchor = str_replace(' ', '-', $anchor);
return array(
- 'anchor' => $anchor,
+ 'anchor' => 'goto-' . $anchor,
'section-name' => $sectionName,
'form' => $form
);