1
0
Fork 0

CLR double-click loads NavMap.

This commit is contained in:
Stuart Buchanan 2018-01-15 20:02:42 +00:00
parent 6b3a29dcf5
commit fbce91ad25
2 changed files with 6 additions and 3 deletions

View file

@ -55,7 +55,7 @@ handleComVolToggle : func (value) { return me.page.mfd.SurroundController.handle
handleDTO : func (value) { return emesary.Transmitter.ReceiptStatus_NotProcessed; },
handleFPL : func (value) { return emesary.Transmitter.ReceiptStatus_NotProcessed; },
handleClear : func (value) { return emesary.Transmitter.ReceiptStatus_NotProcessed; },
handleClearHold : func (value) { return emesary.Transmitter.ReceiptStatus_NotProcessed; },
handleClearHold : func (value) { return me.page.mfd.SurroundController.handleClearHold(value); },
# By default, the FMS knobs will select a new page.
handleFMSOuter : func (value) { return me.page.mfd.SurroundController.handleFMSOuter(value); },

View file

@ -19,8 +19,6 @@ var SurroundController =
_nav2standby : 0.0,
};
obj.RegisterWithEmesary();
return obj;
},
@ -320,6 +318,11 @@ var SurroundController =
handleComVolToggle : func (value) {
},
# Holding the Clear button goes straight to the Navigation Map page.
handleClearHold : func (value) {
me._page.device.selectPage(me._page.getPage("NavigationMap"));
},
# These methods are slightly unusual in that they are called by other
# controllers when the CRSR is not active. Hence they aren't referenced
# in the RegisterWithEmesary call below.