* Cleanup and minor work on FSE post
This commit is contained in:
parent
1a81532aa7
commit
7b7cf38113
|
@ -47,9 +47,7 @@ function enigmaToAnsi(s, client) {
|
||||||
// ENiGMA MCI code? Only available if |client|
|
// ENiGMA MCI code? Only available if |client|
|
||||||
// is supplied.
|
// is supplied.
|
||||||
//
|
//
|
||||||
console.log('attempting to resolve ' + m[1])
|
|
||||||
val = getPredefinedMCIValue(client, m[1]) || ('|' + m[1]); // value itself or literal
|
val = getPredefinedMCIValue(client, m[1]) || ('|' + m[1]); // value itself or literal
|
||||||
console.log(val)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_.isString(val)) {
|
if(_.isString(val)) {
|
||||||
|
|
|
@ -532,15 +532,15 @@
|
||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
"keys" : [ "P", "p" ],
|
"keys" : [ "p", "shift + p" ],
|
||||||
"action" : "@method:prevMessage"
|
"action" : "@method:prevMessage"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"keys" : [ "N", "n" ],
|
"keys" : [ "n", "shift + n" ],
|
||||||
"action" : "@method:nextMessage"
|
"action" : "@method:nextMessage"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"keys" : [ "escape", "Q", "q" ],
|
"keys" : [ "escape", "q", "shift + q" ],
|
||||||
"action" : "@menu:messageArea"
|
"action" : "@menu:messageArea"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -556,55 +556,48 @@
|
||||||
"status" : "Posting message",
|
"status" : "Posting message",
|
||||||
"module" : "msg_area_post_fse",
|
"module" : "msg_area_post_fse",
|
||||||
"fallback" : "messageArea", // :TODO: remove once default fallback is in place
|
"fallback" : "messageArea", // :TODO: remove once default fallback is in place
|
||||||
"config" : {
|
config: {
|
||||||
"art" : {
|
art: {
|
||||||
"header" : "msg_area_post_header",
|
header: MSGEHDR
|
||||||
"body" : "demo_fse_netmail_body.ans",
|
body: demo_fse_netmail_body.ans
|
||||||
"footerEditor" : "demo_fse_netmail_footer_edit.ans",
|
footerEditor: MSGEFTR
|
||||||
"footerEditorMenu" : "demo_fse_netmail_footer_edit_menu.ans",
|
footerEditorMenu: MSGEMFT
|
||||||
"footerView" : "demo_fse_netmail_footer_view.ans",
|
footerView: demo_fse_netmail_footer_view.ans
|
||||||
"help" : "demo_fse_netmail_help.ans"
|
help: demo_fse_netmail_help.ans
|
||||||
},
|
},
|
||||||
"editorMode" : "edit",
|
editorMode: edit
|
||||||
"editorType" : "area"
|
editorType: area
|
||||||
},
|
},
|
||||||
"form" : {
|
"form" : {
|
||||||
"0" : {
|
"0" : {
|
||||||
"ETETTL" : {
|
mci: {
|
||||||
"mci" : {
|
TL1: {
|
||||||
"TL1" : {
|
width: 27
|
||||||
"width" : 36,
|
argName: from
|
||||||
"argName" : "from"
|
|
||||||
},
|
|
||||||
"ET2" : {
|
|
||||||
"width" : 36,
|
|
||||||
"argName" : "to",
|
|
||||||
"focus" : true
|
|
||||||
},
|
|
||||||
"ET3" : {
|
|
||||||
"width" : 65,
|
|
||||||
"argName" : "subject",
|
|
||||||
"maxLength" : 72,
|
|
||||||
"submit" : true
|
|
||||||
},
|
|
||||||
"MA5" : {
|
|
||||||
"width" : 19,
|
|
||||||
"textOverflow" : "..."
|
|
||||||
}
|
|
||||||
/*,
|
|
||||||
"TL4" : {
|
|
||||||
"width" : 19,
|
|
||||||
"textOverflow" : "..."
|
|
||||||
}*/
|
|
||||||
},
|
|
||||||
"submit" : {
|
|
||||||
"3" : [
|
|
||||||
{
|
|
||||||
"value" : { "subject" : null },
|
|
||||||
"action" : "@method:headerSubmit"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
ET2: {
|
||||||
|
width: 27
|
||||||
|
argName: to
|
||||||
|
focus: true
|
||||||
|
}
|
||||||
|
"ET3" : {
|
||||||
|
"width" : 27,
|
||||||
|
"argName" : "subject",
|
||||||
|
"maxLength" : 72,
|
||||||
|
"submit" : true
|
||||||
|
},
|
||||||
|
"MA5" : {
|
||||||
|
"width" : 27,
|
||||||
|
"textOverflow" : "..."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"submit" : {
|
||||||
|
"3" : [
|
||||||
|
{
|
||||||
|
"value" : { "subject" : null },
|
||||||
|
"action" : "@method:headerSubmit"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"1" : {
|
"1" : {
|
||||||
|
@ -963,7 +956,7 @@
|
||||||
"height" : 17,
|
"height" : 17,
|
||||||
//"text" : "@art:demo_multi_line_edit_text_view_text.txt",
|
//"text" : "@art:demo_multi_line_edit_text_view_text.txt",
|
||||||
// "text" : "@systemMethod:textFromFile"
|
// "text" : "@systemMethod:textFromFile"
|
||||||
"text" : "Hints:\n\t* Insert / CTRL-V toggles overtype mode\n\t* CTRL-Y deletes the current line\n\t* Try Page Up / Page Down\n\t* Home goes to the start of line text\n\t* End goes to the end of a line\n\n\nTab handling:\n-------------------------------------------------\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\nA0\tBB\t1\tCCC\t2\tDDD\t3EEEE\nW\t\tX\t\tY\t\tZ\n\nAn excerpt from A Clockwork Orange:\n\"What sloochatted then, of course, was that my cellmates woke up and started joining in, tolchocking a bit wild in the near-dark, and the shoom seemed to wake up the whole tier, so that you could slooshy a lot of creeching and banging about with tin mugs on the wall, as though all the plennies in all the cells thought a big break was about to commence, O my brothers.\n",
|
text: "Hints:\n\t* Insert / CTRL-V toggles overtype mode\n\t* CTRL-Y deletes the current line\n\t* Try Page Up / Page Down\n\t* Home goes to the start of line text\n\t* End goes to the end of a line\n\n\nTab handling:\n-------------------------------------------------\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\nA0\tBB\t1\tCCC\t2\tDDD\t3EEEE\nW\t\tX\t\tY\t\tZ\n\nAn excerpt from A Clockwork Orange:\n\"What sloochatted then, of course, was that my cellmates woke up and started joining in, tolchocking a bit wild in the near-dark, and the shoom seemed to wake up the whole tier, so that you could slooshy a lot of creeching and banging about with tin mugs on the wall, as though all the plennies in all the cells thought a big break was about to commence, O my brothers.\n",
|
||||||
"focus" : true
|
"focus" : true
|
||||||
},
|
},
|
||||||
"BT5" : {
|
"BT5" : {
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue