Aircraft Center: show a warning message that it is experimental.
This commit is contained in:
parent
c03454a6b4
commit
e091ff9c40
1 changed files with 22 additions and 11 deletions
|
@ -183,14 +183,25 @@ var AircraftCenter = {
|
|||
}
|
||||
};
|
||||
|
||||
var ac = AircraftCenter.new();
|
||||
ac.addPage("Rated", {
|
||||
'rating-FDM': 2,
|
||||
'rating-cockpit': 2,
|
||||
'rating-model': 2,
|
||||
'rating-systems': 1
|
||||
});
|
||||
ac.addPage("Installed", {
|
||||
'installed': 1
|
||||
});
|
||||
ac.addPage("All", {});
|
||||
MessageBox.warning(
|
||||
"Experimental Feature...",
|
||||
"The Aircraft Center is only a preview and not yet in a stable state!",
|
||||
func(sel)
|
||||
{
|
||||
if( sel != MessageBox.Ok )
|
||||
return;
|
||||
|
||||
var ac = AircraftCenter.new();
|
||||
ac.addPage("Rated", {
|
||||
'rating-FDM': 2,
|
||||
'rating-cockpit': 2,
|
||||
'rating-model': 2,
|
||||
'rating-systems': 1
|
||||
});
|
||||
ac.addPage("Installed", {
|
||||
'installed': 1
|
||||
});
|
||||
ac.addPage("All", {});
|
||||
},
|
||||
MessageBox.Ok | MessageBox.Cancel | MessageBox.DontShowAgain
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue