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)) {