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

+ 1 - 1
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 });
             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) {
             if (this.opts.closeOnSelect) {
                 this.close();
                 this.close();