Bug 13375: Syspref search highlight styling broken in Chrome
authorOwen Leonard <oleonard@myacpl.org>
Wed, 3 Dec 2014 13:36:04 +0000 (08:36 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 17 Dec 2014 22:28:33 +0000 (19:28 -0300)
commit6c23ef54a32bbdfcc04e59b96ae9936240c46e41
tree58b068b156a45b791e2a751962a00dfb761444dd
parent6413eb9949956b899d4049bf53cb5a6dff15154f
Bug 13375: Syspref search highlight styling broken in Chrome

This patch encloses the the syspref description/values mix in a <div>.
It doesn't introduce any regression on other browsers (like Firefox) and
has the side effect to make Chrome render the highlighted words on
syspref searches well.

This alternate patch uses a <div> instead of a <span> because it will
sometimes contain block-level elements. Follow the same plan:

To test:
- Search for 'facet' on the sysprefs
=> FAIL: verify it has styling problems in Chrome
- Apply the patch, reload
=> SUCCESS: styling is correct

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt