mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
Monotone-Parent: 17b9d49a42aa59f70e7950234d2ea3206247df82
Monotone-Revision: 38816d5f2c5865f939ccd8290226d22c43482e08 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-07T15:48:18 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1176,7 +1176,7 @@ function initMailboxTree() {
|
||||
mailboxTree.pendingRequests = mailAccounts.length;
|
||||
activeAjaxRequests += mailAccounts.length;
|
||||
for (var i = 0; i < mailAccounts.length; i++) {
|
||||
var url = ApplicationBaseURL + "/" + mailAccounts[i] + "/mailboxes";
|
||||
var url = ApplicationBaseURL + mailAccounts[i] + "/mailboxes";
|
||||
triggerAjaxRequest(url, onLoadMailboxesCallback, mailAccounts[i]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,7 +150,8 @@ function URLForFolderID(folderID) {
|
||||
var url;
|
||||
if (folderInfos.length > 1) {
|
||||
url = UserFolderURL + "../" + folderInfos[0];
|
||||
if (!folderInfos[1].startsWith('/'))
|
||||
if (!(folderInfos[0].endsWith('/')
|
||||
|| folderInfos[1].startsWith('/')))
|
||||
url += '/';
|
||||
url += folderInfos[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user