[IMP] better architecture for searchview/drawer
authorGéry Debongnie <ged@odoo.com>
Tue, 20 May 2014 13:27:44 +0000 (15:27 +0200)
committerGéry Debongnie <ged@odoo.com>
Tue, 20 May 2014 13:27:44 +0000 (15:27 +0200)
commit7c6c720425f2915ded93534171aff265dab049ca
treec84a2bcbf5b67c77f93880152b0fb0ac84ddd787
parent2c8dec5daacb68048e08d9c2037412c1acc0dafa
[IMP] better architecture for searchview/drawer

Before, the searchview and the searchview drawer had to be instantiated by
the user and appended separately to their correct place.  Now, the
searchview is responsible for creating/destroying the drawer, and the
user is responsible for correctly using the insert method with
the node where the searchview/drawer are to be inserted.
addons/mail/static/src/js/mail.js
addons/web/static/src/js/search.js
addons/web/static/src/js/view_form.js
addons/web/static/src/js/views.js