Fix for bug #508.

Monotone-Parent: 9de427ab0a6d798a88bf25730ef5135e63d0b420
Monotone-Revision: 0b6870691295aea5bdfe237959986aa5b51597a6

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-03-30T22:01:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-03-30 22:01:15 +00:00
parent ebd2d98c5a
commit c4a5c6defd
14 changed files with 22 additions and 3 deletions

View File

@@ -1995,6 +1995,13 @@ function onCalendarsMenuPrepareVisibility() {
sharingOption.removeClassName("disabled");
else
sharingOption.addClassName("disabled");
var deleteCalendarOption = $("deleteCalendarMenuItem");
// Swith between Delete and Unsubscribe
if (folderOwner == UserLogin)
deleteCalendarOption.update(getLabel("Delete Calendar"));
else
deleteCalendarOption.update(getLabel("Unsubscribe Calendar"));
return true;
}
return false;