fix minor issue with custom acl selector

This commit is contained in:
Mario Vavti 2018-02-26 15:09:46 +01:00
parent 032cbca651
commit ee5fd8a0bd
3 changed files with 4 additions and 2 deletions

View File

@ -399,7 +399,7 @@ ACL.prototype.get = function(start, count, search) {
ACL.prototype.populate = function(data) {
$(data.items).each(function(){
html = "<div class='list-group-item clearfix {4} {7} {5}' id='{2}{3}'>"+that.item_tpl+"</div>";
html = "<div class='list-group-item clearfix acl-list-item {4} {7} {5}' id='{2}{3}'>"+that.item_tpl+"</div>";
html = html.format(this.photo, this.name, this.type, this.xid, '', this.self, this.link, this.taggable);
if (this.uids !== undefined) {
that.group_uids[this.xid] = this.uids;

View File

@ -848,10 +848,12 @@ div.jGrowl div.jGrowl-notification {
.acl-list-item.grouphide {
border: 1px solid red;
z-index: 2;
}
.acl-list-item.groupshow {
border: 1px solid green;
z-index: 2;
}
.acl-list-item.taggable {

View File

@ -37,7 +37,7 @@
</div>
</div>
<div class="acl-list-item list-group-item" rel="acl-template" style="display:none">
<div class="list-group-item acl-list-item" rel="acl-template" style="display:none">
<div class="acl-item-header">
<img class="menu-img-3" data-src="{0}">
<span class="contactname">{1}</span>