diff --git a/application/portalwebpage.class.inc.php b/application/portalwebpage.class.inc.php index a005d03e3..69e13cd13 100644 --- a/application/portalwebpage.class.inc.php +++ b/application/portalwebpage.class.inc.php @@ -212,8 +212,10 @@ EOF } EOF ); - - } + + // For Wizard helper to process the ajax replies + $this->add('
'); +} public function SetCurrentTab($sTabLabel = '') { diff --git a/portal/index.php b/portal/index.php index 796003911..e564dcd7c 100644 --- a/portal/index.php +++ b/portal/index.php @@ -245,8 +245,9 @@ function RequestCreationForm($oP, $oUserOrg) } $aArgs = array('this' => $oRequest); - $aFieldsMap[$sAttCode] = 'attr_'.$sAttCode; - $sValue = $oRequest->GetFormElementForField($oP, get_class($oRequest), $sAttCode, $oAttDef, $value, '', 'attr_'.$sAttCode, '', $iFlags, $aArgs); + $sInputId = 'attr_'.$sAttCode; + $aFieldsMap[$sAttCode] = $sInputId; + $sValue = "".$oRequest->GetFormElementForField($oP, get_class($oRequest), $sAttCode, $oAttDef, $value, '', 'attr_'.$sAttCode, '', $iFlags, $aArgs).''; $aDetails[] = array('label' => ''.$oAttDef->GetLabel().'', 'value' => $sValue); } if (!class_exists('AttachmentPlugIn'))