diff options
author | pafcu <pafcu@iki.fi> | 2015-01-04 23:42:01 +0200 |
---|---|---|
committer | pafcu <pafcu@iki.fi> | 2015-01-04 23:42:01 +0200 |
commit | 83631ffd23ccfce4649c883a792cecab35a611d7 (patch) | |
tree | 9842965a7be38fcb8a47a80d3b6c45aa26ae53de | |
parent | ebb1a616849e275111cd24a20d08031aff4c4161 (diff) | |
parent | a7db0ed0716e9dd51f33469620303e6126251d4f (diff) | |
download | volse-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.js | 2 |
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>"; |