[IMP] payment: allow hiding the error messag in payment_form
This commit is contained in:
@@ -68,6 +68,9 @@ publicWidget.registry.PaymentForm = publicWidget.Widget.extend({
|
||||
$acquirerForm.append(messageResult);
|
||||
}
|
||||
},
|
||||
hideError: function() {
|
||||
this.$('#payment_error').remove();
|
||||
},
|
||||
/**
|
||||
* @private
|
||||
* @param {DOMElement} element
|
||||
|
||||
Reference in New Issue
Block a user