From 53fd551ba0b9deb59cac8447f6a212c5d990da4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 19 May 2023 10:14:15 +0200 Subject: [PATCH] Allow refresh for hidden controls, as their HTML is now always generated. [GB.WEB.GUI] * BUG: Allow refresh for hidden controls, as their HTML is now always generated. --- comp/src/gb.web.gui/.src/WebControl.class | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/comp/src/gb.web.gui/.src/WebControl.class b/comp/src/gb.web.gui/.src/WebControl.class index 7b77fcc0c..919daae5e 100644 --- a/comp/src/gb.web.gui/.src/WebControl.class +++ b/comp/src/gb.web.gui/.src/WebControl.class @@ -593,10 +593,10 @@ Public Sub _CanRefreshDyn() As Boolean Return Endif - If IsHidden() Then - 'WebForm.PrintLog("_CanRefresh " & Me.Name & " --> no (IsHidden)") - Return - Endif + ' If IsHidden() Then + ' 'WebForm.PrintLog("_CanRefresh " & Me.Name & " --> no (IsHidden)") + ' Return + ' Endif If Not Form_Read()._Loaded Then 'WebForm.PrintLog("_CanRefresh " & Me.Name & " --> no (Form not loaded)") @@ -635,7 +635,7 @@ End Public Sub Refresh() - If Not _CanRefresh() Then + If $bHidden Or If Not _CanRefresh() Then 'WebForm.PrintLog("Cannot refresh " & Me.Name & ": " & WebForm._InMessage & " / " & _NoRefresh & " / " & IsHidden() & " / " & _Refresh) Return Else