projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b02d4
)
Update recurrence too if updating event times.
author
Jan Schneider
<jan@horde.org>
Tue, 16 Mar 2010 16:40:39 +0000
(17:40 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 16 Mar 2010 16:40:39 +0000
(17:40 +0100)
kronolith/lib/Ajax/Application.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Ajax/Application.php
b/kronolith/lib/Ajax/Application.php
index
258e67b
..
5c63c29
100644
(file)
--- 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;
}
}