summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-03-23 08:24:24 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit21dffd53dffe1e48876060c6b32d8ca344f606a3 (patch)
treee905b980ac4991075ec4631dbedfe3ac5de0f76a /addons/web/static/src/js/widgets
parent04bc03ced200248ca6d607dc95a91bd5fdadb004 (diff)
[FIX] web: kanban_tests: throw error to simulate RPC fail
Returning a rejected deferred isn't the correct way to notify the MockServer that something went wrong, throwing an error is. This error is then catched, and the RPC deferred is rejected with two arguments: an object describing the error and a JQuery event.
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions