Merge branch 'bug_9419' into 3.12-master
This commit is contained in:
commit
b208af37c6
2 changed files with 8 additions and 4 deletions
|
@ -134,7 +134,9 @@ $('#sort_by').change(function() {
|
|||
function highlightOn() {
|
||||
var x;
|
||||
for (x in q_array) {
|
||||
toHighlight.highlight(q_array[x]);
|
||||
if ( q_array[x].length > 0 ) {
|
||||
toHighlight.highlight(q_array[x]);
|
||||
}
|
||||
}
|
||||
$(".highlight_toggle").toggle();
|
||||
}[% END %]
|
||||
|
|
|
@ -95,9 +95,11 @@ function highlightOff() {
|
|||
function highlightOn() {
|
||||
var x;
|
||||
for (x in q_array) {
|
||||
$(".title").highlight(q_array[x]);
|
||||
$(".author").highlight(q_array[x]);
|
||||
$(".results_summary").highlight(q_array[x]);
|
||||
if ( q_array[x].length > 0 ) {
|
||||
$(".title").highlight(q_array[x]);
|
||||
$(".author").highlight(q_array[x]);
|
||||
$(".results_summary").highlight(q_array[x]);
|
||||
}
|
||||
}
|
||||
$(".highlight_toggle").toggle();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue