From 2baa127afd423987ab72dfc1bd71d02c02457cad Mon Sep 17 00:00:00 2001 From: Hubert Borderiou Date: Mon, 19 Aug 2013 15:35:00 +0200 Subject: [PATCH] chzn not show search bar if less than 10 option - ref #6569 --- main/template/default/layout/footer.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/template/default/layout/footer.tpl b/main/template/default/layout/footer.tpl index d90ed88c09..95dac3fb2c 100644 --- a/main/template/default/layout/footer.tpl +++ b/main/template/default/layout/footer.tpl @@ -63,7 +63,7 @@ /* Makes row highlighting possible */ $(document).ready( function() { //Chosen select - $(".chzn-select").chosen(); + $(".chzn-select").chosen({disable_search_threshold: 10}); //Table highlight $("form .data_table input:checkbox").click(function() {