mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-25 05:15:25 +00:00
Monotone-Parent: bb751d75e7021415c3bfb2e701ecf6acb2adad9e
Monotone-Revision: a79ba19dc901642223410e1cd56c639ec05a6098 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-15T19:50:35 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2010-11-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Scheduler/UIxAppointmentEditor.m (-saveAction): check the
|
||||
equality of componentCalendar and previousCalendar by comparing
|
||||
their ocsPath, since the objects themselves might be different
|
||||
instances when the current user has logged in with a different
|
||||
identifier than his/her uid.
|
||||
|
||||
2010-11-12 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/MailerUI.js (messageFlagCallback): now
|
||||
|
||||
@@ -375,7 +375,9 @@
|
||||
|
||||
if ([co isNew])
|
||||
{
|
||||
if (componentCalendar && componentCalendar != previousCalendar)
|
||||
if (componentCalendar
|
||||
&& ![[componentCalendar ocsPath]
|
||||
isEqualToString: [previousCalendar ocsPath]])
|
||||
{
|
||||
// New event in a different calendar -- make sure the user can
|
||||
// write to the selected calendar since the rights were verified
|
||||
@@ -397,7 +399,9 @@
|
||||
// The event was modified -- save it.
|
||||
[co saveComponent: event];
|
||||
|
||||
if (componentCalendar && componentCalendar != previousCalendar)
|
||||
if (componentCalendar
|
||||
&& ![[componentCalendar ocsPath]
|
||||
isEqualToString: [previousCalendar ocsPath]])
|
||||
{
|
||||
// The event was moved to a different calendar.
|
||||
if (![sm validatePermission: SoPerm_DeleteObjects
|
||||
|
||||
Reference in New Issue
Block a user