diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 23d0d025e..cada2d1f5 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1638,7 +1638,7 @@ $(document).ready(function() { if($attrdef->getMultipleValues()) { $content .= "[]\" multiple"; } else { - $content .= "\""; + $content .= "\" data-allow-clear=\"true\""; } $content .= "".((!$norequire && $attrdef->getMinValues() > 0) ? ' required' : '')." class=\"chzn-select\" data-placeholder=\"".getMLText("select_value")."\">"; if(!$attrdef->getMultipleValues()) { diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index 0767649b5..99537fb14 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -534,7 +534,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); case "categories": $categories = $dms->getDocumentCategories(); if($categories) { - echo ""; if($allowempty) echo ""; foreach($categories as $category) { @@ -549,7 +549,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); case "users": $users = $dms->getAllUsers(); if($users) { - echo ""; if($allowempty) echo ""; foreach($users as $curuser) { @@ -564,7 +564,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); case "groups": $recs = $dms->getAllGroups(); if($recs) { - echo ""; if($allowempty) echo ""; foreach($recs as $rec) { @@ -579,7 +579,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); case "attributedefinitions": $recs = $dms->getAllAttributeDefinitions(); if($recs) { - echo ""; if($allowempty) echo ""; foreach($recs as $rec) {