From 24716bc872a99d8c51e1a113186a60382b7c6ad9 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Wed, 10 Jul 2013 16:49:42 -0700 Subject: [PATCH] fixes #1513 --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 192796c3..a4620dfd 100644 --- a/select2.js +++ b/select2.js @@ -2690,7 +2690,7 @@ the specific language governing permissions and limitations under the Apache Lic this.opts.element.trigger({ type: "selected", val: this.id(data), choice: data }); - if (this.select || !this.opts.closeOnSelect) this.postprocessResults(); + if (this.select || !this.opts.closeOnSelect) this.postprocessResults(data, false, this.opts.closeOnSelect===true); if (this.opts.closeOnSelect) { this.close();