View | Details | Raw Unified | Return to bug 10686
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (+1 lines)
Lines 58-63 Link Here
58
        function highlightOn() {
58
        function highlightOn() {
59
            var x;
59
            var x;
60
            for (x in q_array) {
60
            for (x in q_array) {
61
                q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
61
                $(".title").highlight(q_array[x]);
62
                $(".title").highlight(q_array[x]);
62
                $(".author").highlight(q_array[x]);
63
                $(".author").highlight(q_array[x]);
63
                $(".results_summary").highlight(q_array[x]);
64
                $(".results_summary").highlight(q_array[x]);
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt (+1 lines)
Lines 83-88 function highlightOff() { Link Here
83
function highlightOn() {
83
function highlightOn() {
84
    var x;
84
    var x;
85
    for (x in q_array) {
85
    for (x in q_array) {
86
        q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
86
        $("td").highlight(q_array[x]);
87
        $("td").highlight(q_array[x]);
87
    }
88
    }
88
    $(".highlight_toggle").toggle();
89
    $(".highlight_toggle").toggle();
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt (-1 / +1 lines)
Lines 98-103 function highlightOff() { Link Here
98
function highlightOn() {
98
function highlightOn() {
99
    var x;
99
    var x;
100
    for (x in q_array) {
100
    for (x in q_array) {
101
        q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
101
        if ( q_array[x].length > 0 ) {
102
        if ( q_array[x].length > 0 ) {
102
            $(".title").highlight(q_array[x]);
103
            $(".title").highlight(q_array[x]);
103
            $(".author").highlight(q_array[x]);
104
            $(".author").highlight(q_array[x]);
104
- 

Return to bug 10686