See ChangeLog.

Monotone-Parent: 91cc46c3a339f692e2b6d79b450a1a56ea5789e9
Monotone-Revision: 9d24795a2fc24ed377c4058ed7f74020e0115c84

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-04-25T13:56:33
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-04-25 13:56:33 +00:00
parent 98504cd30d
commit 745e869b31
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2011-04-25 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/SchedulerUI.js (onFolderUnsubscribeCB):
select the personal calendar to avoid trying creating an event or
a task in the calendar to which the user has just unsubscribed.
2011-04-25 Ludovic Marcotte <lmarcotte@inverse.ca>
* Added the concept of "resources" in SOGo in order

View File

@@ -2752,8 +2752,11 @@ function onFolderSubscribeCB(folderData) {
function onFolderUnsubscribeCB(folderId) {
var node = $(folderId);
node.parentNode.removeChild(node);
var list = $(node.parentNode);
node.deselect();
list.removeChild(node);
if (removeFolderRequestCount == 0) {
list.down("li").selectElement(); // personal calendar
refreshEvents();
refreshTasks();
changeCalendarDisplay();