Commit fcd314f8 authored by Andrew Robert Nicols's avatar Andrew Robert Nicols
Browse files

Corrected keyboard navigations javascript

* gg now goes to mygroups.php
* go removed (formerly group/owned.php)
* gv goes to views page
* g/ correctly goes to the search box (incorrect search field id)
parent b72d567b
......@@ -35,13 +35,13 @@ addLoadEvent(function() {
document.location.href = config.wwwroot + 'artefact/file/';
break;
case 'g':
document.location.href = config.wwwroot + 'group/';
document.location.href = config.wwwroot + 'group/mygroups.php';
break;
case 'o':
document.location.href = config.wwwroot + 'group/owned.php';
case 'v':
document.location.href = config.wwwroot + 'view';
break;
case '/':
document.searchform.query.focus();
document.usf.query.focus();
break;
}
config.commandMode = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment