From 674895d354fda6cfa9b0cd7d59d4e3a01fa7dadf Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 7 Jun 2021 18:02:08 +0200 Subject: [PATCH] combo grid: reformat/place comment Signed-off-by: Thomas Lamprecht --- src/form/ComboGrid.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/form/ComboGrid.js b/src/form/ComboGrid.js index 07ea5fe..af04559 100644 --- a/src/form/ComboGrid.js +++ b/src/form/ComboGrid.js @@ -425,14 +425,12 @@ Ext.define('Proxmox.form.ComboGrid', { if (me.enableLoadMask) { delete me.enableLoadMask; - // if the picker exists, - // we reset its minheight to the saved let/0 - // we have to update the layout, otherwise the height - // gets not recalculated + // if the picker exists, we reset its minHeight to the previous saved one or 0 if (me.picker) { me.picker.setMinHeight(me.savedMinHeight || 0); Proxmox.Utils.setErrorMask(me.picker); delete me.savedMinHeight; + // we have to update the layout, otherwise the height gets not recalculated me.picker.updateLayout(); } } -- 2.39.2