mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15: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:
commit
ad14947b40
1 changed files with 3 additions and 2 deletions
|
@ -52,9 +52,10 @@ JenkinsLoader.prototype.loadJobs = function (viewName, callback) {
|
||||||
chrome.storage.local.set(object);
|
chrome.storage.local.set(object);
|
||||||
|
|
||||||
wrappedCallback(jobs);
|
wrappedCallback(jobs);
|
||||||
}).error(xhr => {
|
}).fail(xhr => {
|
||||||
GUI.log(i18n.getMessage('buildServerLoadFailed', ['jobs', `HTTP ${xhr.status}`]));
|
GUI.log(i18n.getMessage('buildServerLoadFailed', ['jobs', `HTTP ${xhr.status}`]));
|
||||||
}).fail(cachedCallback);
|
cachedCallback();
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
cachedCallback();
|
cachedCallback();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue