update multiselect
This commit is contained in:
parent
3460f6708d
commit
cc2cd5731d
28 changed files with 175 additions and 141 deletions
|
@ -7,7 +7,15 @@
|
|||
var itemsContainer = this;
|
||||
var target = e.target;
|
||||
|
||||
itemShortcuts.onClick.call(this, e);
|
||||
var multiSelect = itemsContainer.multiSelect;
|
||||
|
||||
if (multiSelect) {
|
||||
if (multiSelect.onContainerClick.call(itemsContainer, e) === false) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
itemShortcuts.onClick.call(itemsContainer, e);
|
||||
}
|
||||
|
||||
function disableEvent(e) {
|
||||
|
@ -86,7 +94,10 @@
|
|||
|
||||
var self = this;
|
||||
require(['multiSelect'], function (MultiSelect) {
|
||||
self.multiSelect = new MultiSelect(self);
|
||||
self.multiSelect = new MultiSelect({
|
||||
container: self,
|
||||
bindOnClick: false
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue