diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-03-18 16:17:03 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-03-19 14:09:32 +0000 |
| commit | 98fe5054c26828a3a15c8cd7b5905c7cf99c6103 (patch) | |
| tree | 0fdbcb255e22c16c461b074b4d1546f7f4cc3a9f /addons/web_editor/static/src/js | |
| parent | a4049296d9a343757c01fa3f3d32d70a0db77ab1 (diff) | |
[FIX] payment_stripe: open>exit>open opened 1 time
If using Stripe we did "Pay Now" -> close modal -> "Pay Now" we would
get 2 modals and possibly be blocked by infinite loading.
With this changeset, we only execute one time our strip.js file so we do
not declare multiple MutationObserver.
We also only open one checkout at a time from stripe when closing and
opening it or multiclicking click (the later one that could block the
interface with several stripe iframe opened and one with a infinite
loading wheel).
opw-1939323
closes #31928
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
