rem: if (message_menuitem) { var message_menuitem_hidden = message_menuitem.getAttribute("hidden"); if(message_menuitem_hidden != "true"){ message_menuitem.setAttribute('checked',!IsThreadAndMessagePaneSplitterCollapsed()); } } var threadColumn = document.getElementById('ThreadColumnHeader'); var thread_menuitem=document.getElementById('menu_showThreads'); if (threadColumn && thread_menuitem){ thread_menuitem.setAttribute('checked',threadColumn.getAttribute('currentView')=='threaded'); } 
add: if (message_menuitem) { var message_menuitem_hidden = message_menuitem.getAttribute("hidden"); if(message_menuitem_hidden != "true"){ message_menuitem.setAttribute('checked',!IsThreadAndMessagePaneSplitterCollapsed()); } } var threadColumn = document.getElementById('ThreadColumnHeader'); var thread_menuitem=document.getElementById('menu_showThreads'); if (threadColumn && thread_menuitem){ thread_menuitem.setAttribute('checked',threadColumn.getAttribute('currentView')=='threaded'); } 
context: function view_init(){	var message_menuitem=document.getElementById('menu_showMessage');	if (message_menuitem)	{		var message_menuitem_hidden = message_menuitem.getAttribute("hidden");		if(message_menuitem_hidden != "true"){			message_menuitem.setAttribute('checked',!IsThreadAndMessagePaneSplitterCollapsed());		}	}	var threadColumn = document.getElementById('ThreadColumnHeader');	var thread_menuitem=document.getElementById('menu_showThreads');	if (threadColumn && thread_menuitem){		thread_menuitem.setAttribute('checked',threadColumn.getAttribute('currentView')=='threaded');	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b28aee4dad0045eeeca0eac2603313128acc9c86/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js