Skip to content
This repository
Browse code

ENHANCEMENT: Hide the search bar in Chosen dropdown fields when list …

…is reasonably short.
  • Loading branch information...
commit d571cdcc85daa76f1d529f651a3725b8cae1790f 1 parent 838b5bc
unclecheese authored July 15, 2012 chillu committed July 16, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  admin/javascript/LeftAndMain.js
1  admin/javascript/LeftAndMain.js
@@ -23,6 +23,7 @@ jQuery.noConflict();
23 23
 		var applyChosen = function(el){
24 24
 			if(el.outerWidth()){
25 25
 				el.chosen({
  26
+					'disable_search_threshold' : 20,
26 27
 					'allow_single_deselect': true
27 28
 				}).addClass("has-chzn");
28 29
 				// Copy over title attribute if required

0 notes on commit d571cdc

Please sign in to comment.
Something went wrong with that request. Please try again.