mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed incorrect variables breaking form submission.
This commit is contained in:
parent
3f68e6f82f
commit
34eb1b39dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user