diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index a1feff0af..0cb82659c 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -323,29 +323,29 @@ static NSArray *tasksFields = nil; { if (![component isEqualToString: @"vtodo"] || [currentFolder showCalendarTasks]) { - if ([currentFolder isActive]) - { - currentInfos - = [[currentFolder fetchCoreInfosFrom: startDate - to: endDate - title: title - component: component] objectEnumerator]; + if ([currentFolder isActive]) + { + currentInfos + = [[currentFolder fetchCoreInfosFrom: startDate + to: endDate + title: title + component: component] objectEnumerator]; - while ((newInfo = [currentInfos nextObject])) - { - [newInfo setObject: [currentFolder nameInContainer] - forKey: @"c_folder"]; - [newInfo setObject: [currentFolder ownerInContext: context] - forKey: @"c_owner"]; - if (![[newInfo objectForKey: @"c_title"] length]) + while ((newInfo = [currentInfos nextObject])) + { + [newInfo setObject: [currentFolder nameInContainer] + forKey: @"c_folder"]; + [newInfo setObject: [currentFolder ownerInContext: context] + forKey: @"c_owner"]; + if (![[newInfo objectForKey: @"c_title"] length]) [self _fixComponentTitle: newInfo withType: component]; - // Possible improvement: only call _fixDates if event is recurrent - // or the view range span a daylight saving time change - [self _fixDates: newInfo]; - [infos addObject: [newInfo objectsForKeys: fields - notFoundMarker: marker]]; - } - } + // Possible improvement: only call _fixDates if event is recurrent + // or the view range span a daylight saving time change + [self _fixDates: newInfo]; + [infos addObject: [newInfo objectsForKeys: fields + notFoundMarker: marker]]; + } + } } } diff --git a/UI/Scheduler/product.plist b/UI/Scheduler/product.plist index 7edb33898..a36282868 100644 --- a/UI/Scheduler/product.plist +++ b/UI/Scheduler/product.plist @@ -234,7 +234,7 @@ protectedBy = "ViewAllComponent"; pageName = "UIxTaskEditor"; }; - save = { + save = { protectedBy = "ModifyComponent"; pageName = "UIxTaskEditor"; actionName = "save";