Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…is reasonably short.
  • Loading branch information...
commit d571cdcc85daa76f1d529f651a3725b8cae1790f 1 parent 838b5bc
@unclecheese unclecheese authored chillu committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  admin/javascript/LeftAndMain.js
View
1  admin/javascript/LeftAndMain.js
@@ -23,6 +23,7 @@ jQuery.noConflict();
var applyChosen = function(el){
if(el.outerWidth()){
el.chosen({
+ 'disable_search_threshold' : 20,
'allow_single_deselect': true
}).addClass("has-chzn");
// Copy over title attribute if required
Please sign in to comment.
Something went wrong with that request. Please try again.