aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpafcu <pafcu@iki.fi>2015-01-04 23:42:01 +0200
committerpafcu <pafcu@iki.fi>2015-01-04 23:42:01 +0200
commit83631ffd23ccfce4649c883a792cecab35a611d7 (patch)
tree9842965a7be38fcb8a47a80d3b6c45aa26ae53de
parentebb1a616849e275111cd24a20d08031aff4c4161 (diff)
parenta7db0ed0716e9dd51f33469620303e6126251d4f (diff)
downloadvolse-hubzilla-83631ffd23ccfce4649c883a792cecab35a611d7.tar.gz
volse-hubzilla-83631ffd23ccfce4649c883a792cecab35a611d7.tar.bz2
volse-hubzilla-83631ffd23ccfce4649c883a792cecab35a611d7.zip
Merge pull request #817 from pafcu/acl
Fix height calculation in acl.js
-rw-r--r--view/js/acl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/acl.js b/view/js/acl.js
index f9428e1c5..77c65e21d 100644
--- a/view/js/acl.js
+++ b/view/js/acl.js
@@ -258,7 +258,7 @@ ACL.prototype.get = function(start,count, search){
}
ACL.prototype.populate = function(data){
- var height = Math.ceil(data.tot / that.nw) * 42;
+ var height = Math.ceil(data.items.length / that.nw) * 42;
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>";