mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 02:39:56 +09:00
ui bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12202 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
50d0a0722f
commit
550727fd3f
1 changed files with 4 additions and 8 deletions
|
|
@ -2044,12 +2044,8 @@ jQuery(function($){
|
|||
*/
|
||||
|
||||
sDefault = htInfo.sDefault;
|
||||
//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];
|
||||
}
|
||||
aGroup = htInfo.aGroup;
|
||||
|
||||
sGrant = htInfo.sGrant;
|
||||
|
||||
$node = $.tmpl("permItem", {
|
||||
|
|
@ -2079,8 +2075,8 @@ jQuery(function($){
|
|||
if(sGrant === 'group'){
|
||||
|
||||
$node.find('._groups').show();
|
||||
|
||||
if(aGroup && $.inArray(htInfo.group_srl, aGroup) !== -1){
|
||||
console.log(htInfo.group_srl, aGroup);
|
||||
if(aGroup && $.inArray("" + htInfo.group_srl, aGroup) !== -1){
|
||||
sChecked = "checked";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue