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

Added buttons for reboot into boot loader and MSC modes.

This commit is contained in:
mikeller 2018-07-15 23:39:18 +12:00
parent 25b49fb79f
commit b9358083d9
6 changed files with 102 additions and 4 deletions

View file

@ -642,4 +642,16 @@ function openNewWindowsInExternalBrowser() {
} catch (ex) {
console.log("require does not exist, maybe inside chrome");
}
}
}
function showErrorDialog(message) {
var dialog = $('.dialogError')[0];
$('.dialogError-content').html(message);
$('.dialogError-closebtn').click(function() {
dialog.close();
});
dialog.showModal();
}