From: Olaf Conradi Date: Fri, 28 Dec 2012 22:28:53 +0000 (+0100) Subject: Change acl selection box templating X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=239110a2bc1744418a58d06914a3ff652c7470df;p=friendica.git Change acl selection box templating Keep dynamic templating in javascript so browsers don't prefetch non-existing files. --- diff --git a/js/acl.js b/js/acl.js index e383224ca8..4f43252847 100644 --- a/js/acl.js +++ b/js/acl.js @@ -247,7 +247,7 @@ ACL.prototype.populate = function(data){ var height = Math.ceil(data.tot / that.nw) * 42; that.list_content.height(height); $(data.items).each(function(){ - html = "
"+that.item_tpl+"
"; + html = "

{1}

"+that.item_tpl+"
"; html = html.format( this.photo, this.name, this.type, this.id, '', this.network, this.link ); if (this.uids!=undefined) that.group_uids[this.id] = this.uids; //console.log(html); diff --git a/view/acl_selector.tpl b/view/acl_selector.tpl index 655ea89807..e2b85e36bc 100644 --- a/view/acl_selector.tpl +++ b/view/acl_selector.tpl @@ -9,7 +9,6 @@ diff --git a/view/smarty3/acl_selector.tpl b/view/smarty3/acl_selector.tpl index 52f0573c8a..bc669a2ac6 100644 --- a/view/smarty3/acl_selector.tpl +++ b/view/smarty3/acl_selector.tpl @@ -9,7 +9,6 @@