[IMP] payment: allow hiding the error messag in payment_form

This commit is contained in:
Damien Bouvy
2019-08-16 15:52:40 +00:00
parent e01d559f9d
commit 45c2e06095
@@ -68,6 +68,9 @@ publicWidget.registry.PaymentForm = publicWidget.Widget.extend({
$acquirerForm.append(messageResult);
}
},
hideError: function() {
this.$('#payment_error').remove();
},
/**
* @private
* @param {DOMElement} element