VRFS-1809 - shouldn't be able to select 'default' instrument during FTUE
This commit is contained in:
parent
a787601ca8
commit
b897e088ce
|
|
@ -40,7 +40,9 @@
|
|||
return false;
|
||||
};
|
||||
|
||||
var $select = $(context._.template($('#template-icon-instrument-select').html(), {instruments:context.JK.getInstrumentIconMap24()}, { variable: 'data' }));
|
||||
var instruments = context.JK.getInstrumentIconMap24();
|
||||
delete instruments['default']; //shouldn't be able to select 'default' here -- VRFS-1809
|
||||
var $select = $(context._.template($('#template-icon-instrument-select').html(), {instruments:instruments}, { variable: 'data' }));
|
||||
var $ul = $select.find('ul');
|
||||
var $currentInstrument = $select.find('.current-instrument');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue