From 0f6924a9165a066ff248d846d782092b32046509 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 4 Jul 2018 14:59:15 -0600 Subject: [PATCH] XY MCI code now properly c reates vanilla view for later lookup/retrieval --- core/mci_view_factory.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/mci_view_factory.js b/core/mci_view_factory.js index 86246d45..85c440e5 100644 --- a/core/mci_view_factory.js +++ b/core/mci_view_factory.js @@ -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)) {