diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-08-14 12:35:21 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-09-18 06:11:03 +0000 |
| commit | d201802abe054195c2de7a3ecce8c1c3cf866f3d (patch) | |
| tree | edca3eb747d9fbc1504c27b69eb15f19faeed5e6 /addons/web/static/src/xml | |
| parent | 3c867d7c95c526ccca5945b3a0e49fd96fa02510 (diff) | |
[FIX] web: prevent unwanted click on enter keypress
Backport of 801c603218
Pressing ENTER on a button element triggers an additionnal 'click' event.
Since this 'unwanted' click caused some issues in a few cases, we prevent it.
Moreover, there isn't currently any known case in which this event is useful.
Before this commit:
No modification of the initial behaviour on ENTER key
After this commit:
ENTER key pressed in abstract fields has its default behaviour suppressed
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
