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)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 13 Feb 2012 20:02:21 +0000 (15:02 -0500)
commit11a18c3d47367ef3b61616c03a90205524c97a53
tree06b0cceda1d2d0f8cb2eb16de20cd14a1cdc3149
parent95f380f55fab5cba3e378ef09b3aa573a2ffc10a
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>
Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js