Browse Source

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

Igor Vaynberg 13 năm trước cách đây
mục cha
commit
7cd54f5358
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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();