messageTray.js: fire a signal when the summary item is clicked
This commit is contained in:
parent
ad314b362e
commit
9c849b0290
@ -1615,6 +1615,8 @@ MessageTray.prototype = {
|
|||||||
this._clickedSummaryItemMouseButton != button) {
|
this._clickedSummaryItemMouseButton != button) {
|
||||||
this._clickedSummaryItem = summaryItem;
|
this._clickedSummaryItem = summaryItem;
|
||||||
this._clickedSummaryItemMouseButton = button;
|
this._clickedSummaryItemMouseButton = button;
|
||||||
|
|
||||||
|
summaryItem.source.emit('summary-item-clicked', button);
|
||||||
} else {
|
} else {
|
||||||
this._unsetClickedSummaryItem();
|
this._unsetClickedSummaryItem();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user