...
|
...
|
@@ -503,13 +503,17 @@ var softkeysClass = {
|
503
|
503
|
{text: ' UP >', type: 'editable', choices: [' UP >', '<DOWN ']},
|
504
|
504
|
{text: 'START?', type: 'editable|end-of-line', callback: func (id, selected) GenericTimer(id, selected)},
|
505
|
505
|
{type: 'separator'},
|
506
|
|
- {text: sprintf('Vx %3iKT', alerts.getNode('Vx').getValue()), type: 'normal', scrollgroup:0},
|
|
506
|
+ {text: sprintf('Vx %3iKT',
|
|
507
|
+ alerts.getNode('Vx') != nil ? alerts.getValue('Vx') : 0), type: 'normal', scrollgroup:0},
|
507
|
508
|
{text: me.device.data['Vx-visible'] ? ' ON >' : '< OFF ', type: 'editable|immediate|end-of-line', choices: [' ON >', '< OFF '], scrollgroup:0, callback: func (id, selected) Vspeed_visiblity(id, selected, 'Vx')},
|
508
|
|
- {text: sprintf('Vy %3iKT', alerts.getNode('Vy').getValue()), type: 'normal', scrollgroup:1},
|
|
509
|
+ {text: sprintf('Vy %3iKT',
|
|
510
|
+ alerts.getNode('Vy') != nil ? alerts.getValue('Vy') : 0), type: 'normal', scrollgroup:1},
|
509
|
511
|
{text: me.device.data['Vy-visible'] ? ' ON >' : '< OFF ', type: 'editable|immediate|end-of-line', choices: [' ON >', '< OFF '], scrollgroup:1, callback: func (id, selected) Vspeed_visiblity(id, selected, 'Vy')},
|
510
|
|
- {text: sprintf('Vr %3iKT', alerts.getNode('Vr').getValue()), type: 'normal', scrollgroup:2},
|
|
512
|
+ {text: sprintf('Vr %3iKT',
|
|
513
|
+ alerts.getNode('Vr') != nil ? alerts.getValue('Vr') : 0), type: 'normal', scrollgroup:2},
|
511
|
514
|
{text: me.device.data['Vr-visible'] ? ' ON >' : '< OFF ', type: 'editable|immediate|end-of-line', choices: [' ON >', '< OFF '], scrollgroup:2, callback: func (id, selected) Vspeed_visiblity(id, selected, 'Vr')},
|
512
|
|
- {text: sprintf('Vglide %3iKT', alerts.getNode('Vglide').getValue()), type: 'normal', scrollgroup:3},
|
|
515
|
+ {text: sprintf('Vglide %3iKT',
|
|
516
|
+ alerts.getNode('Vglide') != nil ? alerts.getValue('Vglide') : 0), type: 'normal', scrollgroup:3},
|
513
|
517
|
{text: me.device.data['Vglide-visible'] ? ' ON >' : '< OFF ', type: 'editable|immediate|end-of-line', choices: [' ON >', '< OFF '], scrollgroup:3, callback: func (id, selected) Vspeed_visiblity(id, selected, 'Vglide')},
|
514
|
518
|
{type: 'separator'},
|
515
|
519
|
{text: 'MINIMUMS', type: 'normal'},
|