From: Jan Schneider Date: Tue, 16 Mar 2010 16:40:39 +0000 (+0100) Subject: Update recurrence too if updating event times. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a2534cc790c4208539bc32709362ac1004848620;p=horde.git Update recurrence too if updating event times. --- 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; } }