From 1082b6e39c19d6238c8ed6f35e23e7fabc6bea8c Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 23 Sep 2015 23:55:13 -0600 Subject: [PATCH] * Minor fix + notes --- core/fse.js | 2 ++ mods/msg_area_post_fse.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/fse.js b/core/fse.js index 0dbba218..a7901be2 100644 --- a/core/fse.js +++ b/core/fse.js @@ -104,7 +104,9 @@ function FullScreenEditorModule(options) { this.editorMode = config.editorMode; if(_.isObject(options.extraArgs)) { + console.log(options.extraArgs) this.messageAreaName = options.extraArgs.messageAreaName || Message.WellKnownAreaNames.Private; + console.log(this.messageAreaName) this.messageIndex = options.extraArgs.messageIndex || 0; this.messageTotal = options.extraArgs.messageTotal || 0; } diff --git a/mods/msg_area_post_fse.js b/mods/msg_area_post_fse.js index a8acc693..d8a876f0 100644 --- a/mods/msg_area_post_fse.js +++ b/mods/msg_area_post_fse.js @@ -48,7 +48,9 @@ function AreaPostFSEModule(options) { console.log(msg); } - self.client.fallbackMenuModule(); + self.client.fallbackMenuModule( { }, function result(err) { + // :TODO: how to best handle this??? fallbackMenuModule should prob inspect options & cb to be optional. gotoMenuModule() already has default cb + }); //self.client.gotoMenuModule( { name : self.menuConfig.fallback } ); } );