|
|
@ -1405,7 +1405,8 @@ ItemSet.prototype._onSelectItem = function (event) { |
|
|
|
// except when old selection is empty and new selection is still empty
|
|
|
|
if (newSelection.length > 0 || oldSelection.length > 0) { |
|
|
|
this.body.emitter.emit('select', { |
|
|
|
items: newSelection |
|
|
|
items: newSelection, |
|
|
|
event: event |
|
|
|
}); |
|
|
|
} |
|
|
|
}; |
|
|
@ -1530,7 +1531,8 @@ ItemSet.prototype._onMultiSelectItem = function (event) { |
|
|
|
this.setSelection(selection); |
|
|
|
|
|
|
|
this.body.emitter.emit('select', { |
|
|
|
items: this.getSelection() |
|
|
|
items: this.getSelection(), |
|
|
|
event: event |
|
|
|
}); |
|
|
|
} |
|
|
|
}; |
|
|
|