diff options
| author | Pierre Masereel <pim@odoo.com> | 2016-10-10 17:50:03 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2016-10-19 16:14:00 +0200 |
| commit | 57c7b1d3a1dc874113ec262905672fd63f52db74 (patch) | |
| tree | fd4995903d39f2ccc9f7636e7ad3b23ed8b743ef /addons/web_editor/static/src/xml | |
| parent | ecac88dcc074b81ede4925a75080e8d2b4975924 (diff) | |
[FIX] barcodes: _set_quantity_listener
Before, the '_set_quantity_listener' function was opening a 'window.prompt'
which had different comportment depending the navigator. For example,
the focus was not allways on the input field, the enter key 'Cancel'
the prompt or 'validate' it.
So to improve the usability and the consistancy we used a dialog instead
a prompt, to manage the focus and the 'Enter' key pressed when we want to
set a quantity.
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions
