Template:2012FR/Form-section/Processing/Default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
skipValidation, missing semicolons |
stop using dotted payment method |
||
Line 28: | Line 28: | ||
if( paymentSubMethod != '' ){ |
if( paymentSubMethod != '' ){ |
||
params['submethod'] = paymentSubMethod; |
params['submethod'] = paymentSubMethod; |
||
params['payment_submethod'] = paymentSubMethod; |
|||
} |
} |
||
Line 58: | Line 59: | ||
form.action = paymentsURL + '?' + $.param(params); |
form.action = paymentsURL + '?' + $.param(params); |
||
form.payment_method.value = paymentMethod; |
form.payment_method.value = paymentMethod; |
||
if( paymentSubMethod != '' ){ |
|||
form.payment_method.value = form.payment_method.value + '.' + paymentSubMethod; |
|||
} |
|||
donationForm.addAnalytics(); |
donationForm.addAnalytics(); |
Revision as of 22:40, 29 March 2016