that.deny_cid = (preset[2] || []);
that.deny_gid = (preset[3] || []);
that.group_uids = [];
- that.nw = 4; //items per row. should be calulated from #acl-list.width
+ that.nw = 3; //items per row. should be calulated from #acl-list.width
that.list_content = $j("#acl-list-content");
that.item_tpl = unescape($j(".acl-list-item[rel=acl-template]").html());
//console.log(html);
that.list_content.append(html);
});
+ $(".acl-list-item[rel!=acl-template] img[data-src]").each(function(i, el){
+ // Add src attribute for images with a data-src attribute
+ $(el).attr('src', $(el).data("src"));
+ });
that.update_view();
}