mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +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;
|
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;
|
sGrant = htInfo.sGrant;
|
||||||
|
|
||||||
$node = $.tmpl("permItem", {
|
$node = $.tmpl("permItem", {
|
||||||
|
|
@ -2079,8 +2075,8 @@ jQuery(function($){
|
||||||
if(sGrant === 'group'){
|
if(sGrant === 'group'){
|
||||||
|
|
||||||
$node.find('._groups').show();
|
$node.find('._groups').show();
|
||||||
|
console.log(htInfo.group_srl, aGroup);
|
||||||
if(aGroup && $.inArray(htInfo.group_srl, aGroup) !== -1){
|
if(aGroup && $.inArray("" + htInfo.group_srl, aGroup) !== -1){
|
||||||
sChecked = "checked";
|
sChecked = "checked";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue