summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-10-24 13:58:05 +0200
committerqsm-odoo <qsm@odoo.com>2016-10-24 16:47:05 +0200
commit976fdc44026729d8cf590afac6dd1edc34231f38 (patch)
tree3a28ca13c38dc22cf64e341fc5c7c0781588613f /addons/web/static/src/js/views/basic/basic_controller.js
parent40f1f781bd7955ae9723852221afb99f4fa4bd57 (diff)
[FIX] website, web_editor: correct split of displayError function
Before the ace editor was split so that it can be used in the backend and the frontend, the displayError function finished by: website.error(a, b); As website.error cannot be used in the backend, the method was changed to return the error and the extensions of the method were in charge of displaying it. Unfortunatly this return was done like this: return a, b; which is not valid javascript. Now the method return an object with a "title" and a "message" value instead of wrongly returning two values. Note: this fix relies on another fix which will be forward-ported from saas-11.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions