switched back to this instead of self
This commit is contained in:
parent
2b9c8b00a7
commit
010cf29902
4
src/js/select2/dropdown/selectOnClose.js
vendored
4
src/js/select2/dropdown/selectOnClose.js
vendored
@ -14,15 +14,13 @@ define([
|
||||
};
|
||||
|
||||
SelectOnClose.prototype._handleSelectOnClose = function () {
|
||||
var self = this;
|
||||
|
||||
var $highlightedResults = this.getHighlightedResults();
|
||||
|
||||
if ($highlightedResults.length < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
self.trigger('select', {
|
||||
this.trigger('select', {
|
||||
data: $highlightedResults.data('data')
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user