From a7db0ed0716e9dd51f33469620303e6126251d4f Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Sun, 4 Jan 2015 22:37:19 +0100 Subject: Fix height calculation in acl.js --- view/js/acl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') 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 = "
"+that.item_tpl+"
"; -- cgit v1.2.3