- add paging for results sets to search_results.cgi, advanced_search.cgi, and common_results.cgi - added selenium tests to cover paging through results Misc. - fix sorting and warning in aggregate_results.cgi - make coomon results query and default results query use the read-only db - updated existing selenium searching testcases - fixed JS error that occured on search_results.cgi when the user was not logged in git-svn-id: svn://10.0.0.236/trunk@235349 18797224-902f-48f8-a5cc-f745e15eee43
13 lines
290 B
JavaScript
13 lines
290 B
JavaScript
function rewriteLinksByClassName(className,URL) {
|
|
links = document.getElementsByClassName(className);
|
|
if (links) {
|
|
for (var i=0; i< links.length; i++) {
|
|
if (!links[i]) {
|
|
continue;
|
|
}
|
|
links[i].href = URL;
|
|
}
|
|
}
|
|
}
|
|
|