diff --git a/src/definitions/behaviors/api.js b/src/definitions/behaviors/api.js index 21eec60a6..3fc2811c9 100644 --- a/src/definitions/behaviors/api.js +++ b/src/definitions/behaviors/api.js @@ -549,7 +549,7 @@ $.api = $.fn.api = function(parameters) { var formData ; - if($(this).serializeObject !== undefined) { + if($module.serializeObject !== undefined) { formData = $form.serializeObject(); } else {