diff --git a/application/ui.extkeywidget.class.inc.php b/application/ui.extkeywidget.class.inc.php index 6dbf6f46f..09075f439 100644 --- a/application/ui.extkeywidget.class.inc.php +++ b/application/ui.extkeywidget.class.inc.php @@ -95,6 +95,7 @@ class UIExtKeyWidget public function Display(WebPage $oPage, $aArgs = array()) { $bCreate = (UserRights::IsActionAllowed($this->sTargetClass, UR_ACTION_BULK_MODIFY) && $this->oAttDef->AllowTargetCreation()); + $sHTMLValue = ""; // no wrap if (count($this->aAllowedValues) < $this->oAttDef->GetMaximumComboLength()) { // Few choices, use a normal 'select' @@ -159,6 +160,7 @@ class UIExtKeyWidget } $sMessage = Dict::S('UI:Message:EmptyList:UseSearchForm'); $sHTMLValue .= "iId}\">"; + $sHTMLValue .= ""; // end of no wrap $oPage->add_ready_script( <<iId} = new ExtKeyWidget('$this->iId', '$this->sClass', '$this->sAttCode', '$this->sNameSuffix', $sSelectMode, oWizardHelper{$this->sFormPrefix});