1
0
mirror of synced 2025-02-16 20:13:16 +03:00

fix input field broken by fix to #132

This commit is contained in:
Igor Vaynberg 2012-06-21 21:36:08 -07:00
parent 16c3d31e06
commit 54b83c2baf

View File

@ -437,7 +437,7 @@
this.dropdown.data("select2", this);
this.results = results = this.container.find(resultsSelector);
this.search = search = this.container.find("input[type=text]");
this.search = search = this.container.find("input.select2-input");
this.resultsPage = 0;
this.context = null;
@ -1028,7 +1028,7 @@
"</a>",
" <div class='select2-drop' style='display:none;'>" ,
" <div class='select2-search'>" ,
" <input type='text' autocomplete='off'/>" ,
" <input type='text' autocomplete='off' class='select2-input'/>" ,
" </div>" ,
" <ul class='select2-results'>" ,
" </ul>" ,
@ -1309,7 +1309,7 @@
" <ul class='select2-choices'>",
//"<li class='select2-search-choice'><span>California</span><a href="javascript:void(0)" class="select2-search-choice-close"></a></li>" ,
" <li class='select2-search-field'>" ,
" <input type='text' autocomplete='off' style='width: 25px;'>" ,
" <input type='text' autocomplete='off' style='width: 25px;' class='select2-input'>" ,
" </li>" ,
"</ul>" ,
"<div class='select2-drop select2-drop-multi' style='display:none;'>" ,