parent
521710e6ec
commit
30b98e9e3b
|
@ -79,7 +79,7 @@ function getDefaultConfig() {
|
|||
|
||||
users : {
|
||||
usernameMin : 2,
|
||||
usernameMax : 16,
|
||||
usernameMax : 16, // Note that FidoNet wants 36 max
|
||||
usernamePattern : '^[A-Za-z0-9~!@#$%^&*()\\-\\_+]+$',
|
||||
passwordMin : 6,
|
||||
passwordMax : 128,
|
||||
|
|
|
@ -802,6 +802,7 @@ function MultiLineEditTextView2(options) {
|
|||
//
|
||||
// :TODO: apply word wrapping such that text can be re-adjusted if it can now fit on prev
|
||||
self.keyPressLeft(); // same as hitting left - jump to previous line
|
||||
self.keyPressBackspace();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -215,6 +215,7 @@
|
|||
"Vertical Menu Views",
|
||||
"Horizontal Menu Views",
|
||||
"Art Display",
|
||||
"Message Editor",
|
||||
"Some More Stuff",
|
||||
"Other"
|
||||
],
|
||||
|
@ -245,6 +246,10 @@
|
|||
{
|
||||
"value" : { "1" : 6 },
|
||||
"action" : "@menu:demoArtDisplay"
|
||||
},
|
||||
{
|
||||
"value" : { "1" : 7 },
|
||||
"action" : "@menu:demoMessageEditor"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -424,6 +429,10 @@
|
|||
"demoDefaultsDosAnsi" : {
|
||||
"art" : "WE-CIZB.ANS",
|
||||
"options" : { "cls" : true }
|
||||
},
|
||||
"demoMessageEditor" : {
|
||||
"module" : "message_editor",
|
||||
"options" : { "cls" : true }
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/* jslint node: true */
|
||||
'use strict';
|
||||
|
||||
var MenuModule = require('../core/menu_module.js').MenuModule;
|
||||
|
||||
exports.getModule = MessageEditorModule;
|
||||
|
||||
exports.moduleInfo = {
|
||||
name : 'Message Editor',
|
||||
desc : 'A module for editing messages',
|
||||
author : 'NuSkooler',
|
||||
};
|
||||
|
||||
function MessageEditorModule(menuConfig) {
|
||||
MenuModule.call(this, menuConfig);
|
||||
}
|
||||
|
||||
require('util').inherits(MessageEditorModule, MenuModule);
|
Loading…
Reference in New Issue