Skip to content
Snippets Groups Projects
Commit 489a9819 authored by mattwire's avatar mattwire
Browse files

Add jquery form event 'crmBillingFormNotValid' so 3rd-party integrations can...

Add jquery form event 'crmBillingFormNotValid' so 3rd-party integrations can re-enable custom submit buttons etc.
parent da451e4a
No related branches found
No related tags found
1 merge request!1096.4
......@@ -338,6 +338,7 @@ CRM.$(function($) {
$('div#card-errors').hide();
document.querySelector('#billing-payment-block').scrollIntoView();
window.scrollBy(0, -50);
$(form).trigger('crmBillingFormNotValid');
return false;
}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment