diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-23 10:16:30 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-26 09:16:00 +0100 |
| commit | 742ac28a4476b01cab0ed7c053bcd79e07595ea3 (patch) | |
| tree | 88a919f3e9206d1d44ce1e628c64564181db2e5f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 932e641be1798f4660fe9b284aaf9af10e57f663 (diff) | |
[FIX] web: doAction always resolved with the action
Before this commit, doAction returns a deferred that is
resolved when the action is performed (the exact moment
depends of the type of the action).
However, the deferred was not resolved with the action.
This is misleading, hence a traceback in the web_client
when clicking on 'Run JS Tests' in debug mode (enterprise):
after doAction, the web_client should hide the home_menu
depending on the type of the action.
With this commit, any doAction returns a deferred that is
resolved with the performed action.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
