[FIX] properly destroy client widgets (web client)
authorGéry Debongnie <ged@odoo.com>
Thu, 23 Oct 2014 07:12:51 +0000 (09:12 +0200)
committerGéry Debongnie <ged@odoo.com>
Wed, 29 Oct 2014 07:38:17 +0000 (08:38 +0100)
commit4750576fdbb2a042848687688c912924e38956fc
treed8ceb336b1324ceffe376b8804082e3ead5add0d
parentf67298c6b28bd54b6f4015eaae6d99ccb19eeddf
[FIX] properly destroy client widgets (web client)

The new action manager only destroyed viewmanager widgets instead of
any old widget.  It now checks for the widget class.

Also, minor improvement to clear_widgets: vms used to stand for
view_managers, but it can destroy any widget.
addons/web/static/src/js/views.js