rem: if (msgPaneData) {  msgPaneData.SubjectBox = document.getElementById("SubjectBox"); msgPaneData.SubjectValue = document.getElementById("SubjectValue"); msgPaneData.FromBox   =   document.getElementById("FromBox"); msgPaneData.FromValue = document.getElementById("FromValue"); msgPaneData.ReplyToBox   =   document.getElementById("ReplyToBox"); msgPaneData.ReplyToValue = document.getElementById("ReplyToValue"); 
add: initializeHeaderViewTables(); 
context: function OnLoadMsgHeaderPane(){   // build a document object for the header pane so we can cache fetches for elements  // in a local variable  // if you add more document elements with ids to msgHeaderPane.xul, you should add  // to this object...  msgPaneData = new Object;  // HACK...force our XBL bindings file to be load before we try to create our first xbl widget....  // otherwise we have problems.  document.loadBindingDocument('chrome://messenger/content/mailWidgets.xml');  if (msgPaneData)  {    // First group of headers    msgPaneData.SubjectBox = document.getElementById("SubjectBox");    msgPaneData.SubjectValue = document.getElementById("SubjectValue");    msgPaneData.FromBox   =   document.getElementById("FromBox");    msgPaneData.FromValue = document.getElementById("FromValue");    msgPaneData.ReplyToBox   =   document.getElementById("ReplyToBox");    msgPaneData.ReplyToValue = document.getElementById("ReplyToValue");    msgPaneData.DateBox = document.getElementById("DateBox");    msgPaneData.DateValue = document.getElementById("DateValue");    // Attachment related elements    msgPaneData.AttachmentPopup = document.getElementById("attachmentPopup");    msgPaneData.AttachmentButton = document.getElementById("attachmentButton");  // Edit Draft button    msgPaneData.EditMessageButton = document.getElementById("editMessageButton");    // Second toolbar    msgPaneData.ToBox = document.getElementById("ToBox");    // ToValueShort is the div which shows a shortened number of addresses    // on the to line...ToValueLong is a div which shows all of the    // addresses on the to line. The same rule applies for ccValueShort/Long    msgPaneData.ToValueShort = document.getElementById("ToValueShort");    msgPaneData.ToValueLong = document.getElementById("ToValueLong");    msgPaneData.ToValueToggleIcon = document.getElementById("ToValueToggleIcon");    msgPaneData.CcBox = document.getElementById("CcBox");    msgPaneData.CcValueShort = document.getElementById("CcValueShort");    msgPaneData.CcValueLong = document.getElementById("CcValueLong");    msgPaneData.CcValueToggleIcon = document.getElementById("CcValueToggleIcon");    msgPaneData.NewsgroupBox = document.getElementById("NewsgroupBox");    msgPaneData.NewsgroupValue = document.getElementById("NewsgroupValue");    msgPaneData.FollowupToBox = document.getElementById("FollowupToBox");    msgPaneData.FollowupToValue = document.getElementById("FollowupToValue");    msgPaneData.UserAgentBox = document.getElementById("UserAgentBox");    msgPaneData.UserAgentToolbar = document.getElementById("headerPart3");    msgPaneData.UserAgentValue = document.getElementById("UserAgentValue");    msgPaneData.ViewAllHeadersToolbar = document.getElementById("viewAllHeadersToolbar");    msgPaneData.ViewAllHeadersBox = document.getElementById("viewAllHeadersBox");  }  // load any preferences that at are global with regards to  // displaying a message...  gNumAddressesToShow = pref.GetIntPref("mailnews.max_header_display_length");  gShowUserAgent = pref.GetBoolPref("mailnews.headers.showUserAgent");  gCollectIncoming = pref.GetBoolPref("mail.collect_email_address_incoming");  gCollectNewsgroup = pref.GetBoolPref("mail.collect_email_address_newsgroup");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c67a0430b1f6a28483542ee1bfc4325f6249ad46/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js