mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Clickable notifications (#745)
This commit is contained in:
parent
69c01e5789
commit
9ade5a585b
5 changed files with 121 additions and 39 deletions
|
|
@ -778,10 +778,7 @@
|
|||
|
||||
if (bClick)
|
||||
{
|
||||
this.focusedItem(oItem);
|
||||
this.selectedItem(oItem);
|
||||
|
||||
this.scrollToFocused();
|
||||
this.selectMessageItem(oItem);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -791,6 +788,14 @@
|
|||
this.oCallbacks[sEventName] = fCallback;
|
||||
};
|
||||
|
||||
Selector.prototype.selectMessageItem = function (oMessageItem)
|
||||
{
|
||||
this.focusedItem(oMessageItem);
|
||||
this.selectedItem(oMessageItem);
|
||||
|
||||
this.scrollToFocused();
|
||||
};
|
||||
|
||||
module.exports = Selector;
|
||||
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue