WIP on node-to-node msg

+ Preview
* Fix node IDs
+ Add new MenuModule method for validating MCI codes
This commit is contained in:
Bryan Ashby 2018-11-14 20:51:11 -07:00
parent 23af00e7ec
commit b3930d1999
3 changed files with 56 additions and 13 deletions

View file

@ -431,6 +431,10 @@ ViewController.prototype.getView = function(id) {
return this.views[id];
};
ViewController.prototype.hasView = function(id) {
return this.getView(id) ? true : false;
}
ViewController.prototype.getViewsByMciCode = function(mciCode) {
if(!Array.isArray(mciCode)) {
mciCode = [ mciCode ];