mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 01:08:50 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user