1
0
mirror of synced 2024-11-25 22:36:03 +03:00

Merge pull request #3946 from manuel-alvarez-alvarez/master

Add the decorator parameter to the handlers for the attach and detach of the dropdown
This commit is contained in:
Kevin Brown 2015-11-23 16:49:59 -05:00
commit 8763a87779

View File

@ -80,7 +80,8 @@ define([
this.$dropdownContainer.detach();
};
AttachBody.prototype._attachPositioningHandler = function (container) {
AttachBody.prototype._attachPositioningHandler =
function (decorated, container) {
var self = this;
var scrollEvent = 'scroll.select2.' + container.id;
@ -107,7 +108,8 @@ define([
});
};
AttachBody.prototype._detachPositioningHandler = function (container) {
AttachBody.prototype._detachPositioningHandler =
function (decorated, container) {
var scrollEvent = 'scroll.select2.' + container.id;
var resizeEvent = 'resize.select2.' + container.id;
var orientationEvent = 'orientationchange.select2.' + container.id;