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½
|
// ENiGMA½
|
||||||
const TextView = require('./text_view.js').TextView;
|
const TextView = require('./text_view.js').TextView;
|
||||||
|
const View = require('./view.js').View;
|
||||||
const EditTextView = require('./edit_text_view.js').EditTextView;
|
const EditTextView = require('./edit_text_view.js').EditTextView;
|
||||||
const ButtonView = require('./button_view.js').ButtonView;
|
const ButtonView = require('./button_view.js').ButtonView;
|
||||||
const VerticalMenuView = require('./vertical_menu_view.js').VerticalMenuView;
|
const VerticalMenuView = require('./vertical_menu_view.js').VerticalMenuView;
|
||||||
|
@ -186,6 +187,10 @@ MCIViewFactory.prototype.createFromMCI = function(mci) {
|
||||||
view = new KeyEntryView(options);
|
view = new KeyEntryView(options);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'XY' :
|
||||||
|
view = new View(options);
|
||||||
|
break;
|
||||||
|
|
||||||
default :
|
default :
|
||||||
options.text = getPredefinedMCIValue(this.client, mci.code);
|
options.text = getPredefinedMCIValue(this.client, mci.code);
|
||||||
if(_.isString(options.text)) {
|
if(_.isString(options.text)) {
|
||||||
|
|
Loading…
Reference in New Issue