mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-28 08:35:48 +01:00
fixed markFolderRead for newer thunderbirds
This commit is contained in:
@@ -588,14 +588,14 @@ function Mail() //{{{
|
|||||||
if (mail.currentFolder.isServer)
|
if (mail.currentFolder.isServer)
|
||||||
return liberator.beep();
|
return liberator.beep();
|
||||||
|
|
||||||
mail.currentFolder.markAllMessagesRead();
|
mail.currentFolder.markAllMessagesRead(msgWindow);
|
||||||
});
|
});
|
||||||
|
|
||||||
mappings.add(myModes, ["<C-t>"],
|
mappings.add(myModes, ["<C-t>"],
|
||||||
"Mark all messages as read",
|
"Mark all messages as read",
|
||||||
function ()
|
function ()
|
||||||
{
|
{
|
||||||
mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(); });
|
mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); });
|
||||||
});
|
});
|
||||||
|
|
||||||
// DISPLAY OPTIONS
|
// DISPLAY OPTIONS
|
||||||
|
|||||||
Reference in New Issue
Block a user