summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-03-01 14:59:59 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commitc5cf445462f43222a1982b613bd532018d6cad8e (patch)
treed6cd0bc5c2ec5f2c8882768f326cb8ffd2b47794 /addons/web/static/src/js/views/basic/basic_model.js
parent3ff7ff3e94e4fe34ec09a45fda04f0c8de33cd32 (diff)
[FIX] web: Form: protect against widget destruction
When a button is clicked in a form view, the event 'execute_action' is triggered up and catched by the view_manager, which can do various async stuff. Meanwhile, the form view might be destroyed, and in this case, the handlers shouldn't be executed when the async stuff is done.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions