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

From Donate
Jump to navigation Jump to search
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