mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
WIP on node-to-node msg
+ Preview * Fix node IDs + Add new MenuModule method for validating MCI codes
This commit is contained in:
parent
23af00e7ec
commit
b3930d1999
3 changed files with 56 additions and 13 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue