projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7afe3
)
Fix updating events from the day view.
author
Jan Schneider
<jan@horde.org>
Wed, 24 Mar 2010 18:24:18 +0000
(19:24 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 24 Mar 2010 18:24:18 +0000
(19:24 +0100)
kronolith/lib/Ajax/Application.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Ajax/Application.php
b/kronolith/lib/Ajax/Application.php
index
dc939f4
..
71d16ad
100644
(file)
--- a/
kronolith/lib/Ajax/Application.php
+++ b/
kronolith/lib/Ajax/Application.php
@@
-788,10
+788,12
@@
class Kronolith_Ajax_Application extends Horde_Ajax_Application_Base
$result = $this->_signedResponse($event->calendarType . '|' . $event->calendar);
try {
$event->save();
+ $end = new Horde_Date($this->_vars->view_end);
+ $end->hour = 23;
+ $end->min = $end->sec = 59;
Kronolith::addEvents($events, $event,
new Horde_Date($this->_vars->view_start),
- new Horde_Date($this->_vars->view_end),
- true, true);
+ $end, true, true);
if (count($events)) {
$result->events = $events;
}