fix search function

This commit is contained in:
Georg Ehrke 2012-01-07 14:31:47 +01:00
parent 064d6b8a2c
commit 67a8ae084a
1 changed files with 1 additions and 0 deletions

View File

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