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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 111: Line 111:


addAnalytics();
addAnalytics();

console.log(form.action);
if (validateForm(document.paypalcontribution)) {
if (validateForm(form)) {
if(typeof(OWA) !== 'undefined') {
form.method = "POST";
form.submit();
OWATracker.shareStateByPost( document.paypalcontribution );
}
document.paypalcontribution.submit();
}
}
}
}

Revision as of 15:35, 17 October 2013