BUGFIX: Fixed incorrect variables breaking form submission.

This commit is contained in:
Andrew Short 2012-06-11 21:33:41 +10:00
parent 3f68e6f82f
commit 34eb1b39dd

View File

@ -241,7 +241,7 @@ jQuery.noConflict();
},
success: function(data, status, xhr) {
form.removeClass('changed'); // TODO This should be using the plugin API
if(callback) callback(xmlhttp, status);
if(callback) callback(data, status, xhr);
var newContentEls = self.handleAjaxResponse(data, status, xhr);
if(!newContentEls) return;