summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-12-05 13:31:08 +0100
committerXavier Morel <xmo@odoo.com>2017-12-05 13:35:51 +0100
commit150fc064fd1481616d665b6f6f4ce8a4123d3f6a (patch)
tree98246f9978c7520bddcc6c4adaca2761d9d28e97 /addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js
parent6d7d6d9460cae90b257daecf848de1873c413448 (diff)
[FIX] product: image changes not sticking everywhere
Fixes #20046 Simply reverting e5ef1c59172b7b8ebb1912e015fd41003ffc275d looks to work *but* since I didn't note the repro case for the issue and don't remember what it was it may re-introduce previous breakage. Instead, ensure all "sizes" for the image are reset if any of the sizes is present *and* Falsy by adding a final case to the conditional. If any of the image fields is present and non-falsy one of the previous branches will be taken, so we can just check that any of the image fields is present at all (this implies it's falsy).
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js')
0 files changed, 0 insertions, 0 deletions