bug #246
This commit is contained in:
parent
7fbfbdae07
commit
2e088aad8d
15
js/acl.js
15
js/acl.js
|
@ -171,6 +171,9 @@ ACL.prototype.update_view = function(){
|
||||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||||
$('#profile-jot-desc').html(' ');
|
$('#profile-jot-desc').html(' ');
|
||||||
}
|
}
|
||||||
|
$("#acl-list-content .acl-list-item").each(function(){
|
||||||
|
$(this).removeClass("groupshow grouphide");
|
||||||
|
});
|
||||||
|
|
||||||
$("#acl-list-content .acl-list-item").each(function(){
|
$("#acl-list-content .acl-list-item").each(function(){
|
||||||
itemid = $(this).attr('id');
|
itemid = $(this).attr('id');
|
||||||
|
@ -193,10 +196,12 @@ ACL.prototype.update_view = function(){
|
||||||
bthide.addClass("selected");
|
bthide.addClass("selected");
|
||||||
uclass="grouphide";
|
uclass="grouphide";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(that.group_uids[id]).each(function(i,v) {
|
||||||
$(that.group_uids[id]).each(function(i,v){
|
if(uclass == "grouphide")
|
||||||
$("#c"+v).removeClass("groupshow grouphide").addClass(uclass);
|
$("#c"+v).removeClass("groupshow");
|
||||||
|
if(uclass != "")
|
||||||
|
$("#c"+v).addClass(uclass);
|
||||||
});
|
});
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -209,8 +214,6 @@ ACL.prototype.update_view = function(){
|
||||||
btshow.removeClass("selected");
|
btshow.removeClass("selected");
|
||||||
bthide.addClass("selected");
|
bthide.addClass("selected");
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue