[Koha-bugs] [Bug 8401] Search term deleted from system preference content

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 16 18:41:07 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8401

--- Comment #7 from Fred P <fred.pierre at smfpl.org> ---
Instead of editing jquery plug-ins, which may be referenced offsite, a simple
edit to the Koha code fixes the problem. Needs testing, but I am not seeing any
issues. Notice this function only affects the preferences table:

File:       preferences.js
Path:      /home/koha/kohaclone/koha-tmpl/intranet-tmpl/prog/en/js/pages

   if ( to_highlight ) {
        var words = to_highlight.split( ' ' );
        $( '.prefs-tab table' ).find( 'td, th' ).not( '.name-cell'
).each( function ( i, td ) {
           $.each( words, function ( i, word ) { $( td ).highlight( word ) } );
-         } ).find( 'option' ).removeHighlight();
    }

Replace the second-to-last line:

+       } )
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list