]> git.evergreen-ils.org Git - Evergreen.git/commit
AutoSuggest: Make directly clicking a suggestion initiate search
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 13 Feb 2012 17:53:20 +0000 (12:53 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 20 Feb 2012 19:22:14 +0000 (14:22 -0500)
commit206ce50734186dc306b394cc82f2e73675fde5ed
treeb648020bb0867e437002cab33eb786cc0ac61633
parent17e6420adc000b8a344519e4288d0d0cf09ae18a
AutoSuggest: Make directly clicking a suggestion initiate search

Formerly, I thought it best not to do this, so that users could choose a
suggestion and refine their search term further, but that put the
widget's behavior at odds with that of certain ubiquitous search
engines.

Users can still highlight a suggestion and press tab to modify their
search further before submitting, if they wish (and if they know this or
figure it out somehow).

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js