* Fix some extraArgs stuff

* Minor updates to FSE related modules -- WIP!
This commit is contained in:
Bryan Ashby 2015-08-16 13:35:34 -06:00
parent d9b39fcaa6
commit 7990202317
5 changed files with 64 additions and 30 deletions

View file

@ -2,6 +2,9 @@
'use strict';
var FullScreenEditorModule = require('../core/fse.js').FullScreenEditorModule;
var Message = require('../core/message.js').Message;
var _ = require('lodash');
exports.getModule = AreaPostFSEModule;
@ -14,9 +17,15 @@ exports.moduleInfo = {
function AreaPostFSEModule(options) {
FullScreenEditorModule.call(this, options);
var self = this;
// we're posting, so always start with 'edit' mode
this.editorMode = 'edit';
this.menuMethods.editModeMenuSave = function(formData, extraArgs) {
var msg = self.getMessage();
console.log(msg);
};
}
require('util').inherits(AreaPostFSEModule, FullScreenEditorModule);