Bugzilla – Attachment 14690 Details for
Bug 8401
Search term deleted from system preference content
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8401 : Highlighting of search terms in preference causes loss of data
SIGNED-OFF-Bug-8401--Highlighting-of-search-terms-.patch (text/plain), 1.46 KB, created by
Katrin Fischer
on 2013-01-17 22:14:03 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8401 : Highlighting of search terms in preference causes loss of data
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-01-17 22:14:03 UTC
Size:
1.46 KB
patch
obsolete
>From 869265558bd3d4fe14fb3545af3ad9b87217d29f Mon Sep 17 00:00:00 2001 >From: Fred Pierre <fred.pierre@smfpl.org> >Date: Thu, 17 Jan 2013 13:50:23 -0500 >Subject: [PATCH] [SIGNED-OFF] 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 <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely and passes all tests. >--- > .../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 80b0fc6..4d793a1 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 ) { >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8401
:
10734
|
14685
|
14688
|
14689
| 14690