Monotone-Parent: 1e6376f6599d032a3b57fc881d7ead6d4f903195

Monotone-Revision: 4fb91535d64ab4fed607ffde0f99efdc1f92a6e6

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-08-07T18:14:39
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-08-07 18:14:39 +00:00
parent 4e23c849c9
commit 679ef1b24f
7 changed files with 55 additions and 35 deletions
+3 -3
View File
@@ -145,7 +145,7 @@ function URLForFolderID(folderID) {
var url;
if (folderInfos.length > 1) {
url = UserFolderURL + "../" + folderInfos[0];
if (folderInfos[1][0] != '/')
if (!folderInfos[1].startsWith('/'))
url += '/';
url += folderInfos[1];
}
@@ -908,7 +908,7 @@ function popupToolbarMenu(node, menuId) {
function folderSubscriptionCallback(http) {
if (http.readyState == 4) {
if (http.status == 204) {
if (isHttpStatus204(http.status)) {
if (http.callbackData)
http.callbackData["method"](http.callbackData["data"]);
}
@@ -943,7 +943,7 @@ function subscribeToFolder(refreshCallback, refreshCallbackData) {
function folderUnsubscriptionCallback(http) {
if (http.readyState == 4) {
if (http.status == 204) {
if (isHttpStatus204(http.status)) {
if (http.callbackData)
http.callbackData["method"](http.callbackData["data"]);
}