1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-28 05:15:49 +01:00

fixed markFolderRead for newer thunderbirds

This commit is contained in:
Martin Stubenschrott
2009-01-05 05:04:33 +01:00
parent ad4b9b89f9
commit 5e8e1b0507

View File

@@ -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