diff --git a/main/inc/lib/pear/HTML/QuickForm/select.php b/main/inc/lib/pear/HTML/QuickForm/select.php
index 9558cc1bbf..d885c4e8be 100755
--- a/main/inc/lib/pear/HTML/QuickForm/select.php
+++ b/main/inc/lib/pear/HTML/QuickForm/select.php
@@ -82,7 +82,11 @@ class HTML_QuickForm_select extends HTML_QuickForm_element
$attributes = null
) {
if (is_array($attributes) || empty($attributes)) {
- $attributes['class'] = 'form-control';
+ $oldClass = '';
+ if (!empty($attributes['class'])) {
+ $oldClass = $attributes['class'];
+ }
+ $attributes['class'] = $oldClass.' form-control';
}
$columnsSize = isset($attributes['cols-size']) ? $attributes['cols-size'] : null;
$this->setColumnsSize($columnsSize);
diff --git a/main/template/default/layout/footer.tpl b/main/template/default/layout/footer.tpl
index 4f47181631..8d57efe019 100755
--- a/main/template/default/layout/footer.tpl
+++ b/main/template/default/layout/footer.tpl
@@ -152,7 +152,10 @@
// Chosen select
$(".chzn-select").chosen({
- disable_search_threshold: 10
+ disable_search_threshold: 10,
+ no_results_text: '{{ 'SearchNoResultsFound' | get_lang }}',
+ placeholder_text_multiple: '{{ 'SelectSomeOptions' | get_lang }}',
+ placeholder_text_single: '{{ 'SelectAnOption' | get_lang }}'
});
// Adv multi-select search input.