[FIX] close autocomplete listing on input
authorDenis Ledoux <dle@openerp.com>
Mon, 10 Feb 2014 14:00:32 +0000 (15:00 +0100)
committerDenis Ledoux <dle@openerp.com>
Mon, 10 Feb 2014 14:00:32 +0000 (15:00 +0100)
commit749e05ccb81b3a0cd442c6211c82e5fc7c067127
treed528c8bb9e13ebecb2d2f47c54c5ce5046029096
parent6e3d1935172a877c7cdff9c6445082644d6632c0
[FIX] close autocomplete listing on input

Closing previously occured on search request (so that a user wouldn't be able
to select "old" data on new search request), but ``search`` is only triggered
after the search delay. Worked when delay was 0, with it being moved to 250 a
user can get results matching the previous search instead of the current one.

Trigger a closing of the current results list on any ``input`` event, which is
when text is entered in any of the searchview's ``InputView``

bzr revid: dle@openerp.com-20140210140032-06dnlxepcc5ae21f
addons/web/static/src/js/search.js