summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-09-11 16:07:17 +0200
committerNicolas Lempereur <nle@odoo.com>2015-09-14 12:44:46 +0200
commitf7f436ead568d9f948dd48293fcd15182dfe8770 (patch)
treefd05a47f6e64d41418e4257a771e453f26fec23b /addons/web_editor/static/src/js/transcoder.js
parent25eb2c00a9192e2810b109c4dc9d66006db6fa97 (diff)
[FIX] web: date widget, set date when shown
In 36146b3f setting the date of the datetimepicker was done when it was opened, but only for widget datetime. Thus we could get an issue for a widget date when we wanted to use it to select two same date. e.g if we select 23 september for a date, it works. if we then use the widget on another date, 23 september is selected and it will not trigger a value change if we leave this value. This fix adds the date setting when opening the date widget, and also prevents the bootstrap datetimepicker feature* of closing the widget when setting the value of the date-only picker. closes #8506 opw-648619 * this feature is explained in the following issue: https://github.com/Eonasdan/bootstrap-datetimepicker/issues/603
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions