mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-06 01:35:04 +02:00
* Fix some extraArgs stuff
* Minor updates to FSE related modules -- WIP!
This commit is contained in:
parent
d9b39fcaa6
commit
7990202317
5 changed files with 64 additions and 30 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue