Merge pull request #19 from alexcloutier/fix/2622

BugFix #0002622: The server Dovecot use by default an UTF-8 and by doing...
This commit is contained in:
extrafu
2014-04-04 09:21:49 -04:00
6 changed files with 21 additions and 1 deletions
+5 -1
View File
@@ -635,8 +635,12 @@ function ensureMailboxArgRepresentation(container, argumentSpan) {
: {'displayName': 'INBOX', 'path': 'INBOX' });
for (var i = 0; i < mailboxes.length; i++) {
var mailbox = mailboxes[i];
var folderValue;
((folderEncoding == "UTF-8") ? folderValue = mailbox.displayName
: folderValue = mailbox.path);
var mboxOption = createElement("option", null, null,
{ value: mailbox.path }, null, select);
{ value: folderValue }, null, select);
mboxOption.appendChild(document.createTextNode(mailbox.displayName));
}
argumentSpan.appendChild(select);