From 1ca332cf02f5c08fd71e80f858cb12bd349ce46c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 1 Jan 2012 00:46:24 +0000 Subject: [PATCH] fix ugly undefined display git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226205 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/redback/roles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js index c68276880..344d2a6be 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js @@ -162,7 +162,7 @@ $(function() { return mapPermission(item); }): new Array(mapPermission(data.permissions)) :null; - return new role(data.name, data.description,data.assignable,childRoleNames,parentRoleNames,users,parentsRolesUsers,permissions); + return new role(data.name, data.description?data.description:"",data.assignable,childRoleNames,parentRoleNames,users,parentsRolesUsers,permissions); } activateRolesGridTab=function(){ -- 2.39.5