diff --git a/admin/themes/default/sass/partials/_chosen.sass b/admin/themes/default/sass/partials/_chosen.sass index 00b3d01f0..358494e4f 100644 --- a/admin/themes/default/sass/partials/_chosen.sass +++ b/admin/themes/default/sass/partials/_chosen.sass @@ -298,15 +298,6 @@ $chosen-sprite-path: '../img/chosen-sprite.png' .search-field input color: #111 !important -.chosen-container-multi.chosen-options-horizontal .chosen-choices - max-height: 55px !important - white-space: nowrap - overflow-x: auto - -.chosen-container-multi.chosen-options-horizontal .chosen-choices li - float: none - display: inline-block - .chosen-disabled cursor: default opacity: 0.5 !important @@ -356,4 +347,13 @@ $chosen-sprite-path: '../img/chosen-sprite.png' padding: 4px 5px 4px 20px #list_filters_panel .chosen-container - width: 100% !important \ No newline at end of file + width: 100% !important + +#list_filters_panel .chosen-container-multi .chosen-choices + max-height: 55px !important + white-space: nowrap + overflow-x: auto + +#list_filters_panel .chosen-container-multi .chosen-choices li + float: none + display: inline-block \ No newline at end of file diff --git a/admin/themes/default/template/controllers/orders/helpers/list/list_header.tpl b/admin/themes/default/template/controllers/orders/helpers/list/list_header.tpl index 05ffd57c6..255b57976 100644 --- a/admin/themes/default/template/controllers/orders/helpers/list/list_header.tpl +++ b/admin/themes/default/template/controllers/orders/helpers/list/list_header.tpl @@ -250,7 +250,7 @@ {elseif $params.type == 'select'} {if isset($params.multiple) && $params.multiple} - {if isset($params.list) && is_array($params.list)} {foreach $params.list AS $option_value => $option_display} diff --git a/admin/themes/default/template/controllers/products/helpers/list/list_header.tpl b/admin/themes/default/template/controllers/products/helpers/list/list_header.tpl index 0255b15c6..6801fde31 100644 --- a/admin/themes/default/template/controllers/products/helpers/list/list_header.tpl +++ b/admin/themes/default/template/controllers/products/helpers/list/list_header.tpl @@ -238,7 +238,7 @@ {elseif $params.type == 'select'} {if isset($params.multiple) && $params.multiple} - {if isset($params.list) && is_array($params.list)} {foreach $params.list AS $option_value => $option_display} diff --git a/js/admin.js b/js/admin.js index 60a8eba58..daae71858 100644 --- a/js/admin.js +++ b/js/admin.js @@ -767,7 +767,6 @@ $(document).ready(function() $(item).chosen({ disable_search_threshold: 5, search_contains: true, - inherit_select_classes: true, }); }); // Apply chosen() when modal is loaded