mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
+ New file base list export functionality (early beta!)
* File base area startup() and cleanup * Better prepViewController() signature
This commit is contained in:
parent
4ccb059d61
commit
d3d8268df8
5 changed files with 351 additions and 5 deletions
|
@ -311,7 +311,7 @@ exports.MenuModule = class MenuModule extends PluginModule {
|
|||
);
|
||||
}
|
||||
|
||||
prepViewController(name, formId, artData, cb) {
|
||||
prepViewController(name, formId, mciMap, cb) {
|
||||
if(_.isUndefined(this.viewControllers[name])) {
|
||||
const vcOpts = {
|
||||
client : this.client,
|
||||
|
@ -322,7 +322,7 @@ exports.MenuModule = class MenuModule extends PluginModule {
|
|||
|
||||
const loadOpts = {
|
||||
callingMenu : this,
|
||||
mciMap : artData.mciMap,
|
||||
mciMap : mciMap,
|
||||
formId : formId,
|
||||
};
|
||||
|
||||
|
@ -345,7 +345,7 @@ exports.MenuModule = class MenuModule extends PluginModule {
|
|||
return cb(err);
|
||||
}
|
||||
|
||||
return this.prepViewController(name, formId, artData, cb);
|
||||
return this.prepViewController(name, formId, artData.mciMap, cb);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue