mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-22 13:48:33 +00:00
(js) Fix selected message class in advanced search
Also improved display of accounts subheaders.
This commit is contained in:
@@ -224,6 +224,17 @@
|
||||
};
|
||||
|
||||
/**
|
||||
* @function isSelectedMessage
|
||||
* @memberof Mailbox.prototype
|
||||
* @desc Check if the specified message is selected.
|
||||
* @param {string} messageId
|
||||
* @returns true if the specified message is selected
|
||||
*/
|
||||
Mailbox.prototype.isSelectedMessage = function(messageId) {
|
||||
return this.selectedMessage == messageId;
|
||||
};
|
||||
|
||||
/**
|
||||
* @function $filter
|
||||
* @memberof Mailbox.prototype
|
||||
* @desc Fetch the messages metadata of the mailbox
|
||||
|
||||
Reference in New Issue
Block a user