aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/acl.js
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-05-02 10:55:31 +1000
committerRedMatrix <info@friendica.com>2014-05-02 10:55:31 +1000
commite243da3647c38b587a06e121e171c6ab663af618 (patch)
tree0ad551fed55c4287eaff3d1c84f512211d4c0ab3 /view/js/acl.js
parent4c9f5031eb5d59c3e637ac0f41af9721f331580d (diff)
parentcfad83084a0118dfdd88d4339109e3595e43ace5 (diff)
downloadvolse-hubzilla-e243da3647c38b587a06e121e171c6ab663af618.tar.gz
volse-hubzilla-e243da3647c38b587a06e121e171c6ab663af618.tar.bz2
volse-hubzilla-e243da3647c38b587a06e121e171c6ab663af618.zip
Merge pull request #439 from oohlaf/fixes
Fix unwanted GET {0} requests
Diffstat (limited to 'view/js/acl.js')
-rw-r--r--view/js/acl.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/js/acl.js b/view/js/acl.js
index 28e47011f..c129634a0 100644
--- a/view/js/acl.js
+++ b/view/js/acl.js
@@ -258,11 +258,16 @@ ACL.prototype.populate = function(data){
that.list_content.height(height);
$(data.items).each(function(){
html = "<div class='acl-list-item {4} {7} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>";
- html = html.format( this.photo, this.name, this.type, this.xid, '', this.self, this.link, this.taggable );
+ 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.id] = this.uids;
//console.log(html);
that.list_content.append(html);
});
+ $("#acl-list-content .acl-list-item img[data-src]").each(function(i, el){
+ // Replace data-src attribute with src attribute for every image
+ $(el).attr('src', $(el).data("src"));
+ $(el).removeAttr("data-src");
+ });
that.update_view();
}