More work around authChoice
This commit is contained in:
parent
76691a81bb
commit
3d22c04d9b
|
@ -415,7 +415,7 @@ sub authChoiceModules {
|
||||||
id => "authChoiceModules/$k",
|
id => "authChoiceModules/$k",
|
||||||
title => "$k",
|
title => "$k",
|
||||||
data => $value->{$k},
|
data => $value->{$k},
|
||||||
type => 'keyText'
|
type => 'authChoice'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return $self->sendJSONresponse( $req, \@res );
|
return $self->sendJSONresponse( $req, \@res );
|
||||||
|
|
|
@ -234,6 +234,17 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Add auth chain entry to authChoice */
|
||||||
|
$scope.newAuthChoice = function() {
|
||||||
|
var node = $scope._findContainer();
|
||||||
|
node.nodes.push({
|
||||||
|
"id": node.id + '/n' + (id++),
|
||||||
|
"title": "1-key",
|
||||||
|
"data": [],
|
||||||
|
"type": "authChoice"
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
/* Add hash entry */
|
/* Add hash entry */
|
||||||
$scope.newHashEntry = function() {
|
$scope.newHashEntry = function() {
|
||||||
var node = $scope._findContainer();
|
var node = $scope._findContainer();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user