mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Added check to stop non - Betaflight firmware from connecting (except for CLI).
This commit is contained in:
parent
aaef07a01b
commit
878c9b5548
4 changed files with 73 additions and 46 deletions
11
js/gui.js
11
js/gui.js
|
@ -310,5 +310,16 @@ GUI_control.prototype.content_ready = function (callback) {
|
|||
if (callback) callback();
|
||||
}
|
||||
|
||||
GUI_control.prototype.show_modal = function (title, message) {
|
||||
var popup = new jBox('Modal', {
|
||||
title: title,
|
||||
content: message,
|
||||
closeButton: 'title',
|
||||
closeOnClick: 'box'
|
||||
});
|
||||
|
||||
popup.open();
|
||||
}
|
||||
|
||||
// initialize object into GUI variable
|
||||
var GUI = new GUI_control();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue