XY MCI code now properly c reates vanilla view for later lookup/retrieval
This commit is contained in:
parent
f4afe9847d
commit
0f6924a916
|
@ -3,6 +3,7 @@
|
|||
|
||||
// ENiGMA½
|
||||
const TextView = require('./text_view.js').TextView;
|
||||
const View = require('./view.js').View;
|
||||
const EditTextView = require('./edit_text_view.js').EditTextView;
|
||||
const ButtonView = require('./button_view.js').ButtonView;
|
||||
const VerticalMenuView = require('./vertical_menu_view.js').VerticalMenuView;
|
||||
|
@ -186,6 +187,10 @@ MCIViewFactory.prototype.createFromMCI = function(mci) {
|
|||
view = new KeyEntryView(options);
|
||||
break;
|
||||
|
||||
case 'XY' :
|
||||
view = new View(options);
|
||||
break;
|
||||
|
||||
default :
|
||||
options.text = getPredefinedMCIValue(this.client, mci.code);
|
||||
if(_.isString(options.text)) {
|
||||
|
|
Loading…
Reference in New Issue