Sfoglia il codice sorgente

fix parameter names

Igor Vaynberg 12 anni fa
parent
commit
266861ac51
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      select2.js

+ 3 - 3
select2.js

@@ -2243,14 +2243,14 @@ the specific language governing permissions and limitations under the Apache Lic
 
             var _this = this;
             this.selection.on("mousedown", ".select2-search-choice", function (e) {
-                //killEvent(e);                
+                //killEvent(e);
                 _this.search[0].focus();
                 _this.selectChoice($(this));
             })
             //.sortable({
             //    items: " > li",
             //    tolerance: "pointer",
-            //    revert: 100                
+            //    revert: 100
             //});
 
             // rewrite labels from original element to focusser
@@ -2644,7 +2644,7 @@ the specific language governing permissions and limitations under the Apache Lic
         },
 
         // multi
-        postprocessResults: function (dummy1, dummy2, noHighlightUpdate) {
+        postprocessResults: function (data, initial, noHighlightUpdate) {
             var val = this.getVal(),
                 choices = this.results.find(".select2-result"),
                 compound = this.results.find(".select2-result-with-children"),