Fix typo breaking the loading of existing rights values

This commit is contained in:
Nathan Gray 2014-04-02 19:28:57 +00:00
parent f0603e5b5a
commit ca07e19573

View File

@ -352,7 +352,7 @@ app.classes.admin = AppJS.extend(
if(content.acl_appname)
{
content.apps = content.acl_appname;
content.acl_rights = content.acl_rights ? parseInt(acl_rights) : null;
content.acl_rights = content.acl_rights ? parseInt(content.acl_rights) : null;
jQuery.extend(content, {acl:[],right:[],label:[]});
for( var right in acl_rights[content.acl_appname])
{