1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-11-10 19:15:08 -05:00

options: fix unread message count when (un-)checking account

This commit is contained in:
foudfou 2011-11-03 21:04:03 +01:00
parent a9920de294
commit 0d2017d410

View File

@ -83,6 +83,8 @@ firetray.UIOptions = {
if (event.attrName == "value") LOG("value changed!");
document.getElementById("pane1")
.userChangedValue(document.getElementById("ui_tree_mail_accounts"));
firetray.Messaging.updateUnreadMsgCount();
},
_userChangeValueTreeServerTypes: function(event) {
@ -99,8 +101,6 @@ firetray.UIOptions = {
subRows[i], (checkboxCell.getAttribute("value") === "false"));
}
firetray.Messaging.updateUnreadMsgCount();
} else if (event.attrName == "label") { // text
// TODO: move row to new rank
}