Template:2012FR/Form-section/Processing/Default: Difference between revisions

Content deleted Content added
skipValidation, missing semicolons
stop using dotted payment method
Line 28:
if( paymentSubMethod != '' ){
params['submethod'] = paymentSubMethod;
params['payment_submethod'] = paymentSubMethod;
}
Line 58 ⟶ 59:
form.action = paymentsURL + '?' + $.param(params);
form.payment_method.value = paymentMethod;
if( paymentSubMethod != '' ){
form.payment_method.value = form.payment_method.value + '.' + paymentSubMethod;
}
 
donationForm.addAnalytics();