Rename jQuery Serialize Object function to prevent conflicts [MAILPOET-1190]
This commit is contained in:
@@ -30,7 +30,7 @@ function (
|
||||
});
|
||||
|
||||
form.parsley().on('form:submit', function (parsley) {
|
||||
var form_data = form.serializeObject() || {};
|
||||
var form_data = form.mailpoetSerializeObject() || {};
|
||||
// check if we're on the same domain
|
||||
if (isSameDomain(window.MailPoetForm.ajax_url) === false) {
|
||||
// non ajax post request
|
||||
|
Reference in New Issue
Block a user