1
0
Fork 0
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:
mikeller 2016-07-20 00:27:49 +12:00
parent aaef07a01b
commit 878c9b5548
4 changed files with 73 additions and 46 deletions

View file

@ -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();