1
0
Fork 0
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:
Scavanger 2024-11-19 13:35:14 -03:00
parent f99a685372
commit 41861d1547
2 changed files with 5 additions and 1 deletions

View file

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