From ff01fbb35e3f93bfd15bbd6bc941dda247332dc1 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 28 May 2014 16:51:08 +0200 Subject: [PATCH] use getTotalCount instead of getCount To prevent heigth change on filtering. --- www/manager/form/ComboGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager/form/ComboGrid.js b/www/manager/form/ComboGrid.js index 3905bba6..26a57b4e 100644 --- a/www/manager/form/ComboGrid.js +++ b/www/manager/form/ComboGrid.js @@ -8,7 +8,7 @@ Ext.define('PVE.form.ComboGrid', { computeHeight: function() { var me = this; var lh = PVE.Utils.gridLineHeigh(); - var count = me.store.getCount(); + var count = me.store.getTotalCount(); return (count > 10) ? 10*lh : 26+count*lh; },