diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-12-07 18:09:02 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-12-07 18:13:43 +0100 |
| commit | f5f55b22892cbfc0b086d12bff177cbd164a8193 (patch) | |
| tree | e76bb5b500949d89bf06b3785a9ed2dd58e0ea32 /addons/pos_cache/data/pos_cache_data.xml | |
| parent | 3642f1194244c66faa8dabb4be6abcfff789cda4 (diff) | |
[FIX] barcodes: compatibility of `new Event()` for IE >= 9.0
Using the constructor `new Event()` is not supported in IE >= 9.0
(tested on IE 11). It raises the below error:
`Object doesn't support this action`
This revision implements the Polyfill `CustomEvent()` suggested
by the MDN here:
https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
and uses it if the `new Event()` call fails.
opw-690984
Diffstat (limited to 'addons/pos_cache/data/pos_cache_data.xml')
0 files changed, 0 insertions, 0 deletions
