diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-05-30 10:20:32 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-05-30 11:08:52 +0200 |
| commit | 9369afdada7b6168be7bd48abd44f006e8182b4c (patch) | |
| tree | 28fb46cb22166da02f4db6003d7a4b5879ac5128 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 625110d52773d99cfa53e20ac428a441cc5415e7 (diff) | |
[FIX] web: Form: crash when clicking on buttons in dialogs
In view dialogs (e.g. click on the external button of a many2one
in edit mode), the attribute $buttons of the form controller is
undefined (the buttons are rendered by the dialog directly). The
code that (de)activate the buttons to prevent concurrent clicks
made the assumption that $buttons exist, so it crashed when it
doesn't.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
