From b973b56cce868e58d01e1dc55d2cab6450604186 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 14 Mar 2013 11:31:11 -0700 Subject: [PATCH] Calling select2('open') on multiple select shows 'No Matches Found'. --- select2.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/select2.js b/select2.js index f1a46a96..aee7fbcd 100644 --- a/select2.js +++ b/select2.js @@ -2260,10 +2260,11 @@ the specific language governing permissions and limitations under the Apache Lic // multi opening: function () { + this.clearPlaceholder(); // should be done before super so placeholder is not used to search + this.resizeSearch(); + this.parent.opening.apply(this, arguments); - this.clearPlaceholder(); - this.resizeSearch(); this.focusSearch(); this.opts.element.trigger($.Event("open"));