diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-03-24 11:18:14 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-03-24 11:18:14 +0100 |
| commit | f1b9b301da5d3928f10a6636297f9af9b006ab98 (patch) | |
| tree | 57161e82abf351b7d517536970136f6e3f425e63 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 3bc7ea6bcf3a53281b7b0d01b94caf83f121284c (diff) | |
[FIX] web: clear filename if image error
When the user chooses as product image a file which is not an image, the
message "Could not display the selected image" is displayed. However, at
saving, a traceback is thrown since the file chosen is uploaded anyway.
If the image cannot be displayed, the image field is cleared.
opw-672206
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
