Skip to content
Snippets Groups Projects
Commit d096dfef authored by Alex Akimov's avatar Alex Akimov
Browse files

MAGETWO-39069: Payment Method Rendering

parent cbe918a5
Branches
Tags
No related merge requests found
......@@ -105,6 +105,10 @@ define(
getBillingAddressFormName: function() {
return 'billing-address-form-' + this.item.code;
},
disposeSubscriptions: function () {
// dispose all active subscriptions
}
});
}
......
......@@ -110,6 +110,7 @@ define([
var items = this.getRegion('payment-method-items');
_.find(items(), function (value) {
if (value.item.code === paymentMethodCode) {
value.disposeSubscriptions();
this.removeChild(value);
}
}, this);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment