Rename jQuery Serialize Object function to prevent conflicts [MAILPOET-1190]

This commit is contained in:
stoletniy
2017-10-30 22:49:00 +03:00
parent 6e45892118
commit b648852ef5
8 changed files with 8 additions and 8 deletions

View File

@@ -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