[IMP] improves searchview appendTo
authorGéry Debongnie <ged@odoo.com>
Thu, 22 May 2014 07:55:04 +0000 (09:55 +0200)
committerGéry Debongnie <ged@odoo.com>
Thu, 22 May 2014 07:55:04 +0000 (09:55 +0200)
commit8159f4a18c129cb71e40f9902458d7b4d17d4a4f
tree6ac6ffc5d3f25b32c59c622aebd3d4ea14112dc5
parent36471c395596fb40727c7f5fa8e38431a24e6375
[IMP] improves searchview appendTo

after some thought, the extra method insert was not really necessary.
It was at first a way to force the user to give two nodes to determine
where the searchview and the drawer were to be inserted.  However,
the second node can be omitted, a perfectly reasonable default is
to append the drawer just after the searchview.

Then, the role of insert is exactly the same as appendTo, so it makes
sense to override appendTo and remove insert.  Simpler, and the job is done.
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