Commit 88ffc6cc authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1866289: removing groupviews old code"

parents 488a4855 42d81151
......@@ -95,27 +95,13 @@ $js = <<< EOF
jQuery(function ($) {
{$pagination['javascript']}
showmatchall();
EOF;
if ($offset > 0) {
$js .= <<< EOF
if ($('#groupviews').length) {
$('#groupviews a:first').trigger("focus");
}
if ($('#myviews').length) {
$('#myviews a:first').trigger("focus");
}
EOF;
}
else {
$js .= <<< EOF
if ($('#searchresultsheading').length) {
$('#searchresultsheading').addClass('hidefocus')
.prop('tabIndex', -1)
.trigger("focus");
}
});
EOF;
}
$js .= '});';
$urlparamsstr = '';
if (!empty($group->id)) {
......
Supports Markdown
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