summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-05-29 10:12:43 +0200
committerGéry Debongnie <ged@odoo.com>2017-05-29 12:12:44 +0200
commitcad943d035c200cce4a7e5a428d2883bf2452b9d (patch)
tree3913accbc9afacc52b8fe67cc05dd24bd4faf424 /addons/web/static/src/js/fields
parentd76dc17a980a05661c9c15c89785b7485482805d (diff)
[FIX] web_editor: prevent crash with FieldTextHtmlSimple
If the method commitChange from the widget FieldTextHtmlSimple was called in mode=readonly, a traceback was displayed. This is not very common, because most save operations are done in mode=edit, but it can happen in readonly mode: when the user clicks on an action button, then the form view is saved, if necessary. To reproduce this bug, just open a form view for res.users, and click on the Change Password button.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions