summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMohammed Shekha <msh@odoo.com>2019-08-09 12:59:02 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-13 12:07:34 +0000
commitd4de4cd94aa5fe77490d93f5397fa62e697ac945 (patch)
tree0cd61d6bdb12fbf7525242659105789c1ffa47eb /addons/web/static/src/js/views/basic/basic_controller.js
parent20efea970af8d74b06d11d709982429678d35e25 (diff)
[FIX] survey: handle error.datetimepicker in survey's datetimepicker
Purpose of this commit is to handle error.datetimepicker event of datetimepicker element. If not handled then window.onerror will handle it and give unexpected warning via crashmanager. Note that this issue comes from commit e6d4ab84da7a1031ab552b4a6b3fc4aa2348163e which binds window.onerror in frontend also and hence uncaught javascript error is also handled by it. As we do not want to raise crashmanager if user enters wrong value in datetimepicker let us handle it in survey.js correctly. Task 2044512 Also see https://github.com/odoo/odoo/pull/32132 closes odoo/odoo#35609 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions