]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix search function
authorGeorg Ehrke <dev@georgswebsite.de>
Sat, 7 Jan 2012 13:31:47 +0000 (14:31 +0100)
committerGeorg Ehrke <dev@georgswebsite.de>
Sat, 7 Jan 2012 13:31:47 +0000 (14:31 +0100)
apps/calendar/templates/calendar.php

index 92c1b8a778a27ea41ef13a8b500f1c0aa0b3e1e3..50d3d70347a791716d8f1a090b281f6410ee39cc 100755 (executable)
@@ -25,6 +25,7 @@
                                        $date = substr($data['startdate'], 0, 10);
                                        list($year, $month, $day) = explode('-', $date);
                                        echo '$(\'#calendar_holder\').fullCalendar(\'gotoDate\', ' . $year . ', ' . --$month . ', ' . $day . ');';
+                                       echo '$(\'#dialog_holder\').load(OC.filePath(\'calendar\', \'ajax\', \'editeventform.php\') + \'?id=\' +  ' . $_['showevent'] . ' , Calendar.UI.startEventDialog);';
                                }
                                ?>
                                });