Browse Source

postprocess results always if closeOnSelect is false. fixes #348

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

+ 1 - 1
select2.js

@@ -2023,7 +2023,7 @@
         // multi
         // multi
         onSelect: function (data) {
         onSelect: function (data) {
             this.addSelectedChoice(data);
             this.addSelectedChoice(data);
-            if (this.select) { this.postprocessResults(); }
+            if (this.select || !this.opts.closeOnSelect) this.postprocessResults();
 
 
             if (this.opts.closeOnSelect) {
             if (this.opts.closeOnSelect) {
                 this.close();
                 this.close();