From ec86bd246a9aa8ec2ccc9a4aef882205ed558a93 Mon Sep 17 00:00:00 2001 From: acognet Date: Tue, 21 Jun 2022 10:09:55 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05129=20-=20Unwanted=20popup=20during=20a?= =?UTF-8?q?=20transition=20with=20an=20AttributeExternalField?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/wizardhelper.js | 2 +- pages/ajax.render.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/wizardhelper.js b/js/wizardhelper.js index 261cb4c31..b1fd1b9a3 100644 --- a/js/wizardhelper.js +++ b/js/wizardhelper.js @@ -238,7 +238,7 @@ function WizardHelper(sClass, sFormPrefix, sState, sInitialState, sStimulus) } index++; } - if(fieldForm!=null){ + if($('.blockUI').length > 0) { fieldForm.find('button[type=submit]:not(:disabled)').prop("disabled", true).addClass('disabledDuringFieldLoading'); } this.AjaxQueryServer(); diff --git a/pages/ajax.render.php b/pages/ajax.render.php index dead51401..f08fea0fa 100644 --- a/pages/ajax.render.php +++ b/pages/ajax.render.php @@ -832,7 +832,7 @@ try if (!$oAttDef->IsWritable()) { // Even non-writable fields (like AttributeExternal) can be refreshed - $sHTMLValue = $oObj->GetAsHTML($sAttCode); + $sHTMLValue = "
".$oObj->GetAsHTML($sAttCode)."
"; } else {