1
0
mirror of synced 2024-11-22 13:06:08 +03:00

Removing the double event binding registration of "selection:update" within SingleSelection.prototype to prevent multiple calls on the selection event (#4306)

This commit is contained in:
alexweissman 2017-10-26 13:35:58 -04:00
parent 05208f9775
commit 20429201c8
2 changed files with 1 additions and 4 deletions

View File

@ -13,6 +13,7 @@
- User-defined types not normalized properly when passed in as data (#4632) - User-defined types not normalized properly when passed in as data (#4632)
- Perform deep merge for `Defaults.set()` (#4364) - Perform deep merge for `Defaults.set()` (#4364)
- Fix "the results could not be loaded" displaying during AJAX request (#4356) - Fix "the results could not be loaded" displaying during AJAX request (#4356)
- Removing the double event binding registration of `selection:update` (#4306)
#### Accessibility #### Accessibility
- Improve `.select2-hidden-accessible` (#4908) - Improve `.select2-hidden-accessible` (#4908)

View File

@ -62,10 +62,6 @@ define([
self.$selection.focus(); self.$selection.focus();
} }
}); });
container.on('selection:update', function (params) {
self.update(params.data);
});
}; };
SingleSelection.prototype.clear = function () { SingleSelection.prototype.clear = function () {