From 3ec535ec5b5a204465373a29c91e40e326ea6f8f Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 7 Feb 2013 16:17:44 -0800 Subject: [PATCH] make search work with chinese/japanese imes. fixes #814 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index aaf7a37a..aaa4144f 100644 --- a/select2.js +++ b/select2.js @@ -601,7 +601,7 @@ the specific language governing permissions and limitations under the Apache Lic } 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("blur", function () { search.removeClass("select2-focused");});