Correct references on HOLD page
This commit is contained in:
parent
0ef5d73f14
commit
533f2d964b
2 changed files with 2 additions and 3 deletions
|
@ -38,8 +38,7 @@ var holdPage = {
|
|||
return nil;
|
||||
},
|
||||
_setupPageWithData: func() {
|
||||
# me.title = ["LAT REV", " AT ", me.waypoint.wp_name]; TODO FIXME LATREV
|
||||
me.title = ["HOLD", " AT ", me.waypoint];
|
||||
me.title = ["LAT REV", " AT ", me.waypoint.wp_name];
|
||||
me.titleColour = "wht";
|
||||
me.L1 = [" [ ]", " INB CRS", "blu"];
|
||||
me.L2 = [" R", " TURN", "blu"];
|
||||
|
|
|
@ -310,7 +310,7 @@ var lskbutton = func(btn, i) {
|
|||
canvas_mcdu.myHold[i].del();
|
||||
}
|
||||
canvas_mcdu.myHold[i] = nil;
|
||||
canvas_mcdu.myHold[i] = holdPage.new(i, canvas_mcdu.myLatRev[i].id);
|
||||
canvas_mcdu.myHold[i] = holdPage.new(i, canvas_mcdu.myLatRev[i].wpt);
|
||||
setprop("MCDU[" ~ i ~ "]/page", "HOLD");
|
||||
} else {
|
||||
notAllowed(i);
|
||||
|
|
Loading…
Add table
Reference in a new issue