Fixed an error when unsubscribing from an addressbook in a popup window in the web interface.

Monotone-Parent: a73f76eb898b4da5d09ab8b2ab40534bf749f3f4
Monotone-Revision: 1557ba13bc93ac186e2e592e204980df8a2a34c0

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-09-04T19:08:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-09-04 19:08:21 +00:00
parent 60b68ee8f7
commit 2f84f000b1
3 changed files with 11 additions and 57 deletions

View File

@@ -2069,9 +2069,11 @@ function onCalendarRemove(event) {
deletePersonalCalendar(folderIdElements[0]);
}
}
else
unsubscribeFromFolder(folderId, owner,
else {
var folderUrl = ApplicationBaseURL + folderId;
unsubscribeFromFolder(folderUrl, owner,
onFolderUnsubscribeCB, folderId);
}
}
}