summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2016-01-15 14:52:13 +0100
committerAaron Bohy <aab@odoo.com>2016-01-18 14:01:21 +0100
commit206cc91a63b614881a7902e048fce25805a0c374 (patch)
treef4212fe87044e017863bc60a4be23fcfa08ae8e4 /addons/web_editor/static/src/js/transcoder.js
parent93075b6b4b37dd2b543c27cd7131865e5f5365c8 (diff)
[FIX] web: view_manager: restore internal state on switch view failure
When an error occured when switching from a view to another (e.g. switching to a form view for an id that doesn't exist, by editing the url), active_view and view_stack were updated even though the switch failed. The view manager thus lost the reference to the real current active view, which couldn't be detached anymore. This resulted in two views being displayed at the same time if the user kept navigating through this view manager. This is a backport of odoo/enterprise@0b1aafa6b and odoo/enterprise@8e691be.
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions