Skip to content
Snippets Groups Projects
Commit 662e32fd authored by Andie Hunt's avatar Andie Hunt
Browse files

ignore previous page no matter what the label is

parent 479b65d8
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,8 @@
});
$('#billingcheckbox:input').hide();
$('label[for="billingcheckbox"]').hide();
var webformPrevious = $('input.webform-previous').first().val();
}
else {
// This is native civicrm form - check for existing token
......@@ -99,7 +101,7 @@
if (isWebform) {
var $processorFields = $('.civicrm-enabled[name$="civicrm_1_contribution_1_contribution_payment_processor_id]"]');
if ($('#action').attr('value') == "< Previous Page") {
if ($('#action').attr('value') == webformPrevious) {
return true;
}
if ($('#wf-crm-billing-total').length) {
......
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