Merge pull request #518 from ajshort/jsfixes

BUGFIX: Fixed incorrect variables breaking form submission.
This commit is contained in:
Ingo Schommer 2012-06-11 06:33:27 -07:00
commit d95e9a06b3

View File

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