From 06440a6bf8deb4cbfcf102c6ad4df9e95887d1ad Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Tue, 14 May 2013 15:17:24 -0700 Subject: [PATCH] MultiSelect JavaScript error - no method 'showSearch'. fixes #1311 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index cfd288fa..6fb443e9 100644 --- a/select2.js +++ b/select2.js @@ -1512,7 +1512,7 @@ the specific language governing permissions and limitations under the Apache Lic } else { render(""); } - if (initial) this.showSearch(true); + if (initial && this.showSearch) this.showSearch(true); return; }