[FIX] web: correctly init searchview when no action_id
authorGéry Debongnie <ged@odoo.com>
Wed, 10 Dec 2014 08:49:48 +0000 (09:49 +0100)
committerGéry Debongnie <ged@odoo.com>
Wed, 10 Dec 2014 08:49:48 +0000 (09:49 +0100)
commit851140c7f4a302e8b7f49b4e836a75b7d487c8d3
treea29da9c539b2d71d5c9625b504708a28b2acd1fc
parentdc560a4dd0b6c109eede6b30c02ae4b34ca77c38
[FIX] web: correctly init searchview when no action_id

the method prepare_dropdown_menu wasn't called when the searchview did
not have an action id.  This can cause problems in some cases (for
example, a crash in messaging when toggling the favorite menu)
addons/web/static/src/js/search.js