* WIP replacement NUA system
This commit is contained in:
parent
b1947c8010
commit
6c38ff54d5
|
@ -43,7 +43,6 @@ function ViewController(options) {
|
||||||
// Everything else is forwarded on to the focused View, if any.
|
// Everything else is forwarded on to the focused View, if any.
|
||||||
//
|
//
|
||||||
var actionForKey = key ? self.actionKeyMap[key.name] : self.actionKeyMap[ch];
|
var actionForKey = key ? self.actionKeyMap[key.name] : self.actionKeyMap[ch];
|
||||||
//var actionForKey = self.actionKeyMap[key.name] || self.actionKeyMap[ch];
|
|
||||||
if(actionForKey) {
|
if(actionForKey) {
|
||||||
if(_.isNumber(actionForKey.viewId)) {
|
if(_.isNumber(actionForKey.viewId)) {
|
||||||
//
|
//
|
||||||
|
|
|
@ -81,7 +81,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: { 1: 1 },
|
value: { 1: 1 },
|
||||||
action: @menu:apply
|
action: @menu:newUserApplication
|
||||||
|
//action: @menu:apply
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: { 1: 2 },
|
value: { 1: 2 },
|
||||||
|
@ -175,10 +176,10 @@
|
||||||
argName: birthdate
|
argName: birthdate
|
||||||
maskPattern: "####/##/##"
|
maskPattern: "####/##/##"
|
||||||
}
|
}
|
||||||
// :TODO: use a mask edit for this:
|
ME4: {
|
||||||
ET4: {
|
|
||||||
argName: sex
|
argName: sex
|
||||||
maxLength: 1
|
maskPattern: A
|
||||||
|
textStyle: U
|
||||||
}
|
}
|
||||||
ET5: {
|
ET5: {
|
||||||
argName: location
|
argName: location
|
||||||
|
@ -206,16 +207,26 @@
|
||||||
password: true
|
password: true
|
||||||
maxLength: @config:users.passwordMax
|
maxLength: @config:users.passwordMax
|
||||||
}
|
}
|
||||||
BT12: {
|
TM12: {
|
||||||
|
argName: submission
|
||||||
|
items: [ "Apply", "Cancel" ]
|
||||||
submit: true
|
submit: true
|
||||||
text: Apply
|
|
||||||
}
|
|
||||||
BT13: {
|
|
||||||
submit: true
|
|
||||||
text: Cancel
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
submit: {
|
||||||
|
*: [
|
||||||
|
{
|
||||||
|
value: { "submission" : 0 }
|
||||||
|
action: @method:apply/submitApplication
|
||||||
|
extraArgs: {
|
||||||
|
inactive: userNeedsActivated
|
||||||
|
error: newUserCreateError
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"apply" : {
|
"apply" : {
|
||||||
|
|
Binary file not shown.
|
@ -56,6 +56,29 @@
|
||||||
ET10: { width: 21 }
|
ET10: { width: 21 }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newUserApplication: {
|
||||||
|
ET1: { width: 21 }
|
||||||
|
|
||||||
|
ET2: { width: 21 }
|
||||||
|
|
||||||
|
/*ME3: {
|
||||||
|
styleSGR1: |00|30|01
|
||||||
|
styleSGR2: |00|37
|
||||||
|
fillChar: "#"
|
||||||
|
}*/
|
||||||
|
|
||||||
|
//ET4: { width: 1 }
|
||||||
|
ET5: { width: 21 }
|
||||||
|
ET6: { width: 21 }
|
||||||
|
ET7: { width: 21 }
|
||||||
|
ET8: { width: 21 }
|
||||||
|
ET9: { width: 21 }
|
||||||
|
ET10: { width: 21 }
|
||||||
|
TM12: {
|
||||||
|
focusTextStyle: first lower
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
lastCallers: {
|
lastCallers: {
|
||||||
TL1: {
|
TL1: {
|
||||||
resizable: false
|
resizable: false
|
||||||
|
|
Loading…
Reference in New Issue