[IMP] close search autocompletion list while completing
authorXavier Morel <xmo@openerp.com>
Wed, 5 Jun 2013 14:49:49 +0000 (16:49 +0200)
committerXavier Morel <xmo@openerp.com>
Wed, 5 Jun 2013 14:49:49 +0000 (16:49 +0200)
commitd72773015e60be3ba0bbe1dd43997019611f2505
tree3e850bf436ff3d4a273cd02b5c1871b705fcdc43
parent672933ebfe414c2e4d42bbd30af5a7bac835811d
[IMP] close search autocompletion list while completing

Looks slightly worse as results don't seamlessly update in-place, but
limits/avoids the risk of quick-typing, hitting [Return] and getting
an incomplete/incorrect query because the completion didn't catch up
(e.g. slow network) and [Return] validated the previously retrieved
completion.

lp bug: https://launchpad.net/bugs/1183746 fixed

bzr revid: xmo@openerp.com-20130605144949-jbzs2hppr6c1djg3
addons/web/static/src/js/search.js