rem: if(watchedTheadsWithUnreadMenuItem) watchedTheadsWithUnreadMenuItem.setAttribute("checked", viewType == nsMsgViewType.eShowWatchedThreadsWithUnread); 
add: if (watchedTheadsWithUnreadMenuItem) watchedTheadsWithUnreadMenuItem.setAttribute("checked", viewType == nsMsgViewType.eShowWatchedThreadsWithUnread);  
context: function InitViewMessagesMenu(){  var allMenuItem = document.getElementById("viewAllMessagesMenuItem");  var viewFlags = gDBView.viewFlags;  var viewType = gDBView.viewType;  if(allMenuItem)      allMenuItem.setAttribute("checked",  (viewFlags & nsMsgViewFlagsType.kUnreadOnly) == 0 && (viewType == nsMsgViewType.eShowAllThreads));  var unreadMenuItem = document.getElementById("viewUnreadMessagesMenuItem");  if(unreadMenuItem)      unreadMenuItem.setAttribute("checked", (viewFlags & nsMsgViewFlagsType.kUnreadOnly) != 0);  var theadedMenuItem = document.getElementById("menu_showThreads");  if (theadedMenuItem)    theadedMenuItem.setAttribute("checked", (viewFlags & nsMsgViewFlagsType.kThreadedDisplay) != 0);  document.commandDispatcher.updateCommands('create-menu-view');  var theadsWithUnreadMenuItem = document.getElementById("viewThreadsWithUnreadMenuItem");  if(theadsWithUnreadMenuItem)      theadsWithUnreadMenuItem.setAttribute("checked", viewType == nsMsgViewType.eShowThreadsWithUnread);  var watchedTheadsWithUnreadMenuItem = document.getElementById("viewWatchedThreadsWithUnreadMenuItem");  if(watchedTheadsWithUnreadMenuItem)      watchedTheadsWithUnreadMenuItem.setAttribute("checked", viewType == nsMsgViewType.eShowWatchedThreadsWithUnread);  var ignoredTheadsMenuItem = document.getElementById("viewIgnoredThreadsMenuItem");  if(ignoredTheadsMenuItem)      ignoredTheadsMenuItem.setAttribute("checked", (viewFlags & nsMsgViewFlagsType.kShowIgnored) != 0);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f7bbce7579986d8b306959f630104b7fb01e18ca/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js