+ New file base list export functionality (early beta!)

* File base area startup() and cleanup
* Better prepViewController() signature
This commit is contained in:
Bryan Ashby 2018-03-03 21:46:41 -07:00
parent 4ccb059d61
commit d3d8268df8
5 changed files with 351 additions and 5 deletions

View file

@ -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);
}
);
}