Browse Source

chzn not show search bar if less than 10 option - ref #6569

Hubert Borderiou 11 years ago
parent
commit
2baa127afd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/template/default/layout/footer.tpl

+ 1 - 1
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() {