make a custom dijit that subclasses combobox and uses autosuggeststore
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 20 Jan 2012 22:06:03 +0000 (17:06 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 23 Jan 2012 17:27:00 +0000 (12:27 -0500)
commit726418c631ec8381941c0dae0d344cf3c5d1d89e
tree57f1e16d100cb432d84fdd55e1dc7b306478e1b1
parent8b3b80ba3403a7e7c4a29a046ee0f4d8b9ab9edd
make a custom dijit that subclasses combobox and uses autosuggeststore

In theory you could now use markup based dojo declarations to turn a
given text input into an autosuggesting dijit.  But we need to be able
to turn autosuggest on/off by a switch, and how would we make dojo
markup-based declarations respond to conditionals?

Incidentally, this commit does also take care of populating the value of
the search box after issuing a search.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js [new file with mode: 0644]
Open-ILS/web/opac/skin/default/js/search_bar.js