Selaa lähdekoodia

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

Igor Vaynberg 13 vuotta sitten
vanhempi
commit
7cd54f5358
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. 0 3
      select2.js

+ 0 - 3
select2.js

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