diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-08-14 12:35:21 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2019-08-16 09:03:49 +0000 |
| commit | 3c372d1da8b29df79b0366de0177a933d0494291 (patch) | |
| tree | 95aaaf16de2a15d11c0d269cafdeb92b4b8bf0a1 /doc/reference/javascript_reference.rst | |
| parent | f88577ec701b581bc65a1180056b16822dea00b6 (diff) | |
[FIX] web: prevent unwanted click on enter keypress
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 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
