Bug #301084 --> front end to expose filing replies in the folder of the message being replied to. Patch originally by hesslow@gmail.com.

sr=mscott
This commit is contained in:
scott%scott-macgregor.org 2006-05-17 22:07:19 +00:00
parent 2e3ed0d23e
commit 17eb4db071
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@
<!ENTITY sendingPrefix.label "When sending messages, automatically: ">
<!ENTITY fccMailFolder.label "Place a copy in:">
<!ENTITY fccMailFolder.accesskey "P">
<!ENTITY fccReplyFollowsParent.label "Place replies in the folder of the message being replied to">
<!ENTITY fccReplyFollowsParent.accesskey "l">
<!ENTITY chooseFolderButton.label "Choose Folder...">
<!-- LOCALIZATION NOTE (bccAddress.label): do not translate "Bcc" in below line -->
<!ENTITY bccAddress.label "Bcc these email addresses:">

View File

@ -53,6 +53,12 @@ var draftsFolderPickerId = "msgDraftsFolderPicker";
var tmplAccountPickerId = "msgStationeryAccountPicker";
var tmplFolderPickerId = "msgStationeryFolderPicker";
function onPreInit(account, accountValues)
{
var type = parent.getAccountValue(account, accountValues, "server", "type", null, false);
hideShowControls(type);
}
/*
* Set the global radio element choices and initialize folder/account pickers.
* Also, initialize other UI elements (bcc self, fcc picker controller checkboxes).