1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00

fix a deprecation in jQuery 3.0 (Firmware flasher tab) (#1568)

fix a deprecation in jQuery 3.0 (Firmware flasher tab)
This commit is contained in:
Michael Keller 2019-08-11 10:42:17 +12:00 committed by GitHub
commit ad14947b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,9 +52,10 @@ JenkinsLoader.prototype.loadJobs = function (viewName, callback) {
chrome.storage.local.set(object);
wrappedCallback(jobs);
}).error(xhr => {
}).fail(xhr => {
GUI.log(i18n.getMessage('buildServerLoadFailed', ['jobs', `HTTP ${xhr.status}`]));
}).fail(cachedCallback);
cachedCallback();
});
} else {
cachedCallback();
}