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