瀏覽代碼

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

Igor Vaynberg 13 年之前
父節點
當前提交
7cd54f5358
共有 1 個文件被更改,包括 0 次插入3 次删除
  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();