Always set promise to null.

pull/8160/head
maliming 5 years ago
parent 44e9ef0ea9
commit e9be73072f

@ -373,8 +373,9 @@ var abp = abp || {};
promise.jqXHR.abort();
}
promise = serverMethod(input);
promise.then(function (result) {
promise.always(function () {
promise = null;
}).then(function (result) {
callback(responseCallback(result));
});
}

Loading…
Cancel
Save