Some chosen parameters:

- Inherit classes from select
- Search within, not just at start
This commit is contained in:
Nathan Gray 2013-09-17 16:22:51 +00:00
parent 6fd5e50d60
commit 407efdbcaf

View File

@ -557,6 +557,8 @@ var et2_selectbox = et2_inputWidget.extend(
} }
this.input.css("width",this.options.tags ? "100%":'') this.input.css("width",this.options.tags ? "100%":'')
.chosen({ .chosen({
inherit_select_classes: true,
search_contains: true
}) })
.change(this.onchange); .change(this.onchange);
} }