mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
* Lots of improvements (WIP) to file browsing
This commit is contained in:
parent
67e2ff987f
commit
806e6539f4
7 changed files with 412 additions and 98 deletions
|
@ -143,8 +143,10 @@ function ViewController(options) {
|
|||
var mci = mciMap[name];
|
||||
var view = self.mciViewFactory.createFromMCI(mci);
|
||||
|
||||
if(view && false === self.noInput) {
|
||||
view.on('action', self.viewActionListener);
|
||||
if(view) {
|
||||
if(false === self.noInput) {
|
||||
view.on('action', self.viewActionListener);
|
||||
}
|
||||
|
||||
self.addView(view);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue