From a2534cc790c4208539bc32709362ac1004848620 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 16 Mar 2010 17:40:39 +0100 Subject: [PATCH] Update recurrence too if updating event times. --- kronolith/lib/Ajax/Application.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kronolith/lib/Ajax/Application.php b/kronolith/lib/Ajax/Application.php index 258e67bfa..5c63c2996 100644 --- a/kronolith/lib/Ajax/Application.php +++ b/kronolith/lib/Ajax/Application.php @@ -186,11 +186,19 @@ class Kronolith_Ajax_Application extends Horde_Ajax_Application_Base case 'offDays': $event->start->mday += $value; $event->end->mday += $value; + if ($event->recurs()) { + $event->recurrence->start->mday += $value; + $event->recurrence->end->mday += $value; + } break; case 'offMins': $event->start->min += $value; $event->end->min += $value; + if ($event->recurs()) { + $event->recurrence->start->min += $value; + $event->recurrence->end->min += $value; + } break; } } -- 2.11.0