summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-04-09 19:19:45 +0200
committerRomain Derie <rde@odoo.com>2018-04-10 16:10:59 +0200
commit0879cb88fedb819f91a2ad2cb0044023ef1254d8 (patch)
treea1d92ca5f7e6373e36b6782a0b21cc843fb554cf /addons/web/static/src/js/views/basic/basic_model.js
parentb7462ca224a0e4a423e1c230f0d2e46a1b9c34fa (diff)
[FIX] payment: make the error handler works for non s2s acquirer
Before this commit, error handling would not work for non s2s payment acquirer since it would always check for `o_payment_add_token_acq_[id]` in the DOM but this is only present for s2s acquirer. Non s2s acquirer got `o_payment_form_acq_[id]` in the DOM. Now, we retrieve the correct DOM element depending if s2s is enabled for this payment acquirer or not. task-1825701
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions