Skip to content
Snippets Groups Projects
Commit 700ad967 authored by Joshua Walker's avatar Joshua Walker
Browse files

Merge pull request #83 from agh1/webform-prev-page

ignore previous page no matter what the label is
parents 479b65d8 662e32fd
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