Browse Source

make search work with chinese/japanese imes. fixes #814

Igor Vaynberg 12 years ago
parent
commit
3ec535ec5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -601,7 +601,7 @@ the specific language governing permissions and limitations under the Apache Lic
             }
             }
 
 
             installKeyUpChangeEvent(search);
             installKeyUpChangeEvent(search);
-            search.bind("keyup-change", this.bind(this.updateResults));
+            search.bind("keyup-change input", this.bind(this.updateResults));
             search.bind("focus", function () { search.addClass("select2-focused"); if (search.val() === " ") search.val(""); });
             search.bind("focus", function () { search.addClass("select2-focused"); if (search.val() === " ") search.val(""); });
             search.bind("blur", function () { search.removeClass("select2-focused");});
             search.bind("blur", function () { search.removeClass("select2-focused");});