mirror of https://github.com/apache/archiva.git
add comment as cannot knockout mapping when fields can be array or not
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1ca332cf02
commit
d45f65954d
|
@ -146,6 +146,8 @@ $(function() {
|
||||||
* @param data Role response from redback rest api
|
* @param data Role response from redback rest api
|
||||||
*/
|
*/
|
||||||
mapRole=function(data) {
|
mapRole=function(data) {
|
||||||
|
// olamy this mapping has issues when fields are array or not
|
||||||
|
//return ko.mapping.fromJS(data);
|
||||||
// name, description, assignable,childRoleNames,parentRoleNames,users,parentsRolesUsers,permissions
|
// name, description, assignable,childRoleNames,parentRoleNames,users,parentsRolesUsers,permissions
|
||||||
//$.log("mapRole:"+data.name+":");
|
//$.log("mapRole:"+data.name+":");
|
||||||
var childRoleNames = mapStringArray(data.childRoleNames);
|
var childRoleNames = mapStringArray(data.childRoleNames);
|
||||||
|
|
Loading…
Reference in New Issue