mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-01 03:37:22 +00:00
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:
@@ -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"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user