mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
Fix input fields
This commit is contained in:
parent
f99a685372
commit
41861d1547
2 changed files with 5 additions and 1 deletions
|
@ -548,6 +548,10 @@ GUI_control.prototype.alert = function(message) {
|
|||
dialog.showMessageBoxSync({ message: message, icon: "./images/inav_icon_128.png" });
|
||||
}
|
||||
|
||||
GUI_control.prototype.confirm = function(message) {
|
||||
return dialog.showMessageBoxSync({ message: message, icon: "./images/inav_icon_128.png", buttons: ["Yes", "No"]}) == 0;
|
||||
}
|
||||
|
||||
// initialize object into GUI variable
|
||||
var GUI = new GUI_control();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue