1
0
mirror of synced 2025-02-17 04:23:15 +03:00

fix parameter names

This commit is contained in:
Igor Vaynberg 2013-05-06 15:26:46 -07:00
parent 231cce0add
commit 266861ac51

View File

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