mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
Replaced jbox dialogues.
This commit is contained in:
parent
357b6c0998
commit
c2fff5bc47
6 changed files with 82 additions and 15 deletions
10
js/gui.js
10
js/gui.js
|
@ -321,15 +321,5 @@ 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'
|
||||
});
|
||||
|
||||
popup.open();
|
||||
}
|
||||
|
||||
// initialize object into GUI variable
|
||||
var GUI = new GUI_control();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue