From 09ec1bef388b9c83ba548df97d585f4168828d46 Mon Sep 17 00:00:00 2001 From: Fred Pierre Date: Thu, 17 Jan 2013 13:50:23 -0500 Subject: [PATCH 1/2] Bug 8401 : Highlighting of search terms in preference causes loss of data To test: 1/ Go to system preferences 2/ Go to SCOUserCSS 3/ Add #self 4/ Search for self 5/ Open SCOUserCSS 6/ Note it now contains only # (Do not click save) 7/ Apply the patch 8/ Refresh the page, and check SCOUserCSS and note it now says #self 9/ Rejoice! Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Works nicely and passes all tests. Signed-off-by: Jared Camins-Esakov --- koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js b/koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js index 80b0fc6080..4d793a1e2e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/pages/preferences.js @@ -108,7 +108,7 @@ $( document ).ready( function () { 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(); + } ).find( 'option, textarea' ).removeHighlight(); } if ( search_jumped ) { From 8bfba2d98fb663b2951fd4c01a8ed8605734642f Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 17 Jan 2013 20:55:20 -0500 Subject: [PATCH 2/2] Add Fred Pierre to history Welcome, Fred Pierre! You are the 201st committer to Koha. --- docs/history.txt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/history.txt b/docs/history.txt index 9e42730e2d..a37d55d446 100644 --- a/docs/history.txt +++ b/docs/history.txt @@ -651,3 +651,4 @@ December 22 2012 Koha 3.8.8 released releases December 27 2012 Koha 3.6.11 released releases January 17 2013 Hugh Davenport becomes the 199th developer to have a patch pushed January 17 2013 Corey Fuimaono becomes the 200th developer to have a patch pushed +January 17 2013 Fred Pierre becomes the 201st developer to have a patch pushed diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 326d83f794..6a627af34a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -302,8 +302,9 @@
  • H. Passini
  • Dobrica Pavlinusic
  • Maxime Pelletier
  • -
  • Polytechnic University
  • Shari Perkins
  • +
  • Fred Pierre
  • +
  • Polytechnic University
  • Romina Racca
  • MJ Ray
  • Liz Rea