Fix default values display issue
This commit is contained in:
parent
1f782ec4c1
commit
0f4d3c8b04
|
@ -3640,8 +3640,7 @@ qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-
|
||||||
'type' => 'text'
|
'type' => 'text'
|
||||||
},
|
},
|
||||||
'vhostAuthnLevel' => {
|
'vhostAuthnLevel' => {
|
||||||
'default' => '',
|
'type' => 'int'
|
||||||
'type' => 'int'
|
|
||||||
},
|
},
|
||||||
'vhostHttps' => {
|
'vhostHttps' => {
|
||||||
'default' => -1,
|
'default' => -1,
|
||||||
|
|
|
@ -1901,7 +1901,7 @@ sub attributes {
|
||||||
default => 'Main',
|
default => 'Main',
|
||||||
documentation => 'Handler type',
|
documentation => 'Handler type',
|
||||||
},
|
},
|
||||||
vhostAuthnLevel => { type => 'int', default => '' },
|
vhostAuthnLevel => { type => 'int' },
|
||||||
|
|
||||||
# SecureToken parameters
|
# SecureToken parameters
|
||||||
secureTokenAllowOnError => {
|
secureTokenAllowOnError => {
|
||||||
|
|
|
@ -351,7 +351,7 @@ llapp.controller 'TreeCtrl', [
|
||||||
node.data = node['default']
|
node.data = node['default']
|
||||||
else
|
else
|
||||||
node.data = data.value
|
node.data = data.value
|
||||||
if node.data.toString().match /_Hidden_$/
|
if (node.data and node.data.toString().match /_Hidden_$/)
|
||||||
node.type = 'text'
|
node.type = 'text'
|
||||||
node.data = '######'
|
node.data = '######'
|
||||||
# Cast int as int (remember that booleans are int for Perl)
|
# Cast int as int (remember that booleans are int for Perl)
|
||||||
|
|
|
@ -1200,7 +1200,6 @@ function templates(tpl,key) {
|
||||||
"type" : "select"
|
"type" : "select"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default" : "",
|
|
||||||
"get" : tpl+"s/"+key+"/"+"vhostAuthnLevel",
|
"get" : tpl+"s/"+key+"/"+"vhostAuthnLevel",
|
||||||
"id" : tpl+"s/"+key+"/"+"vhostAuthnLevel",
|
"id" : tpl+"s/"+key+"/"+"vhostAuthnLevel",
|
||||||
"title" : "vhostAuthnLevel",
|
"title" : "vhostAuthnLevel",
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -442,7 +442,7 @@ This file contains:
|
||||||
} else {
|
} else {
|
||||||
node.data = data.value;
|
node.data = data.value;
|
||||||
}
|
}
|
||||||
if (node.data.toString().match(/_Hidden_$/)) {
|
if (node.data && node.data.toString().match(/_Hidden_$/)) {
|
||||||
node.type = 'text';
|
node.type = 'text';
|
||||||
node.data = '######';
|
node.data = '######';
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user