Skip to content
Snippets Groups Projects
Commit e881109c authored by Steven's avatar Steven
Browse files

fix links in settings menu in all browsers except grome(ium)

parent 6c53b761
No related branches found
No related tags found
No related merge requests found
......@@ -18,9 +18,10 @@ function hideAllForms(){
<div id='settingsNav'>
<ul>
<?php
global $WEBROOT;
foreach(OC_CONFIG::$forms as $name=>$url){
$clean=strtolower(str_replace(' ','_',$name));
echo("<li><a onclick='showForm(\"$clean\")' href='settings/#$clean'>$name</a></li>\n");
echo("<li><a onclick='showForm(\"$clean\")' href='{$WEBROOT}/settings/#$clean'>$name</a></li>\n");
}
?>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment