rem: loadedFolder = GetLoadedMsgFolder(); messageArray = GetSelectedMessages(); 
add: var loadedFolder = GetLoadedMsgFolder(); var messageArray = GetSelectedMessages(); 
context: function ThreadPaneDoubleClick(){	var loadedFolder;	var messageArray;	var messageUri;	if (IsSpecialFolderSelected(MSG_FOLDER_FLAG_DRAFTS)) {		MsgComposeDraftMessage();	}	else if(IsSpecialFolderSelected(MSG_FOLDER_FLAG_TEMPLATES)) {		loadedFolder = GetLoadedMsgFolder();		messageArray = GetSelectedMessages();		ComposeMessage(msgComposeType.Template, msgComposeFormat.Default, loadedFolder, messageArray);	}	else {        MsgOpenSelectedMessages();	}}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/09e7288510e8d97cdf63c46cb5f854f4232751e6/threadPane.js/buggy/mailnews/base/resources/content/threadPane.js