$.suggestions: make it possible to re-show suggestions
authorMatmaRex <matma.rex@gmail.com>
Sat, 9 Feb 2013 18:53:19 +0000 (19:53 +0100)
committerMatmaRex <matma.rex@gmail.com>
Mon, 11 Feb 2013 15:46:48 +0000 (16:46 +0100)
commit65017a8516c321b47d97f1e0b154d3a9d9b7fd8a
treec041deba075ec73081b905feec40bfa4a1e776aa
parent0caa0bdcf216539513b4092bc582c0c56f76a6e3
$.suggestions: make it possible to re-show suggestions

This patch makes it possible to re-show suggestions after they were
hidden (by pressing Escape) by simply pressing the down arrow. This
seems to have been the intended behavior to begin with (given how
update() is called on down-arrow press when the suggestions list is
hidden), but someone borked the implementation.

To reproduce the behavior:
* type something in and wait for the suggestions to appear
* press Escape, hiding the suggestion list
* press down arrow to fetch and show it again

Change-Id: Ic8aa162d2f0701d93329de855bd8b7dbdb99f979
resources/jquery/jquery.suggestions.js