added missing data in deferred.resolve()
This commit is contained in:
@@ -69,7 +69,7 @@ define('ajax', ['mailpoet', 'jquery', 'underscore'], function(MailPoet, jQuery,
|
|||||||
null,
|
null,
|
||||||
'json'
|
'json'
|
||||||
).then(function(data) {
|
).then(function(data) {
|
||||||
deferred.resolve();
|
deferred.resolve(data);
|
||||||
}, function(xhr) {
|
}, function(xhr) {
|
||||||
deferred.reject(xhr.responseJSON);
|
deferred.reject(xhr.responseJSON);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user