mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user