diff options
| author | Martin Geubelle <mge@odoo.com> | 2019-03-05 15:44:31 +0000 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2019-03-06 16:11:33 +0000 |
| commit | dcf8c67fe386cfe7005288c179e829bab9aefb31 (patch) | |
| tree | adbc8a760921dce28cae8f4ca64fa10673ffa911 /doc/reference/javascript_reference.rst | |
| parent | a3489be331f306db61fa80f21af51237bdf5e6bb (diff) | |
[FIX] web: hide CopyClipboard widget button when pointless
The widget has been moved in rev. odoo/odoo@15f3bbe but was not very generic.
In particular, there was a traceback when clicking on the button if the field
had no value (the button was displayed for readonly fields in create mode).
The button is now only appended in readonly mode (a `button` inside an `input`
or a `textarea` is not very DOM friendly) if the field has a value.
Task 1941996
closes odoo/odoo#31635
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
