We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 026bb9b commit 45306d6Copy full SHA for 45306d6
app/code/Magento/Paypal/view/frontend/web/js/in-context/billing-agreement.js
@@ -11,7 +11,7 @@ define([
11
12
$.widget('mage.billingAgreement', {
13
options: {
14
- invalidateOnCreate: false,
+ invalidateOnLoad: false,
15
cancelButtonSelector: '.block-billing-agreements-view button.cancel',
16
cancelMessage: '',
17
cancelUrl: ''
@@ -24,7 +24,7 @@ define([
24
_create: function () {
25
var self = this;
26
27
- if (this.options.invalidateOnCreate) {
+ if (this.options.invalidateOnLoad) {
28
this.invalidate();
29
}
30
$(this.options.cancelButtonSelector).on('click', function () {
0 commit comments