[FIX] prevent propagation of [UP] and [DOWN] keydown events in form m2o
authorXavier Morel <xmo@openerp.com>
Mon, 10 Dec 2012 11:22:03 +0000 (12:22 +0100)
committerXavier Morel <xmo@openerp.com>
Mon, 10 Dec 2012 11:22:03 +0000 (12:22 +0100)
commit70f8f99b35c93a880cf15a1f21b7f88aef5a8d36
tree0afd582b2b52c1d5b017345f60c6022aa3a44d98
parente972b6a5d4d090c7105748ef3ccc83c606d9a1e7
[FIX] prevent propagation of [UP] and [DOWN] keydown events in form m2o

these events are used by the autocompletion widget internally, if they
bubble upwards they also get handled by the list view which interprets
them as going up/down the list.

Prevent the latter by suppressing bubbling of these events.

bzr revid: xmo@openerp.com-20121210112203-3mry0pvecri0pv9o
addons/web/static/src/js/view_form.js