Browse Source

no need to preload results, they will be loaded on open

Igor Vaynberg 13 years ago
parent
commit
7cd54f5358
1 changed files with 0 additions and 3 deletions
  1. 0 3
      select2.js

+ 0 - 3
select2.js

@@ -713,9 +713,6 @@
         if (this.select) {
         if (this.select) {
             selected = this.select.find(":selected");
             selected = this.select.find(":selected");
             this.updateSelection({id: selected.attr("value"), text: selected.text()});
             this.updateSelection({id: selected.attr("value"), text: selected.text()});
-
-            // preload all results
-            this.updateResults();
         }
         }
 
 
         this.setPlaceholder();
         this.setPlaceholder();