diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-04 22:37:19 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-04 22:37:19 +0100 |
commit | a7db0ed0716e9dd51f33469620303e6126251d4f (patch) | |
tree | 494d17d7d0926ee72b862a744444ae5340d0dcae /view/js | |
parent | ac4c17dd4c4df70b31fd7246108fdbc9d6f2a593 (diff) | |
download | volse-hubzilla-a7db0ed0716e9dd51f33469620303e6126251d4f.tar.gz volse-hubzilla-a7db0ed0716e9dd51f33469620303e6126251d4f.tar.bz2 volse-hubzilla-a7db0ed0716e9dd51f33469620303e6126251d4f.zip |
Fix height calculation in acl.js
Diffstat (limited to 'view/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>"; |