UI bug fix

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12203 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-11-13 08:45:13 +00:00
parent 550727fd3f
commit 363f1c15db

View file

@ -2044,8 +2044,12 @@ jQuery(function($){
*/
sDefault = htInfo.sDefault;
aGroup = htInfo.aGroup;
//aGroup = htInfo.aGroup;
aGroup = [];
// The comparison target "htInfo.group_srl" is always string where htInfo.aGroup can be either string OR integer. For easier comparison, conver aGroup to string.
for(var n=0, nLen=htInfo.aGroup.length; n<nLen; n++){
aGroup[n] = "" + htInfo.aGroup[n];
}
sGrant = htInfo.sGrant;
$node = $.tmpl("permItem", {