summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorNasreddin (bon) <bon@odoo.com>2021-04-23 00:39:21 +0000
committerNasreddin Boulif (bon) <bon@odoo.com>2021-05-17 07:30:17 +0000
commitaa1e071191c90f8d67234aceb6adf009ccbcd2b1 (patch)
tree0a0a542ff4b008812f247eb4870f442771752c4d /setup
parent74116c982a5ddef65a05ef90017ac4ce63bdf58f (diff)
[FIX] payment: enable pay button when clicking back button
Issue Use Safari (or equivalent) browser - Install e-commerce - Go to Website -> Configuration -> Payment Acquirers - Activate Ingenico in test mode (write aaa in required fields) - Go to shop, and add product to card - Go to checkout - Select Ingenico payment mode - Click on Pay button - When on the ingenico page, press back The page is blocked and the button is disabled. Cause When clicking on Pay button, the page is locked and the button is disabled. With Chrome, when coming back to previous page, this one is regenerated and therefore adapt the button. In Safari, it is not the case. Solution On `pageshow` event, if event have `persisted` attribute set to to true, meaning using cache, then reload page. Fixes https://github.com/odoo/odoo/issues/69453 opw-2510281 closes odoo/odoo#70834 X-original-commit: f2eb6d3ce8b31d3f14f45482060d4ef5c362e7c3 Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com> Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com> Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions