diff options
| author | Joren Van Onder <jov@odoo.com> | 2015-05-28 12:00:33 +0200 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2015-05-29 16:29:16 +0200 |
| commit | ddfa131e135bfed4945e6123211ade14ea902504 (patch) | |
| tree | 7fcec898faf0f02b960ba9e81357f15afbca0c8c /addons/web/static/src/js/web_client.js | |
| parent | 44d5fbb21f482fdfb73eb607eb4871bfc510bd11 (diff) | |
[IMP] barcode_events: deal with special keys in Firefox
Let arrow keys, tab and escape pass through. We still want users to be
able to use eg. arrow keys to be used when selecting a radio item. This
will always work in Chrom{e,ium} because they do not dispatch keypress
events for these types of keys, only keydown/keyup events. Firefox does
dispatch keypress events. This makes sure that we do not touch those
types of events in Firefox.
devices have to fire keypresses every 50ms minimum
Previously this was 100ms. This works just as well, but was mainly in
there for testing purposes.
Diffstat (limited to 'addons/web/static/src/js/web_client.js')
0 files changed, 0 insertions, 0 deletions
