summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-01-07 14:31:47 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-01-07 14:31:47 +0100
commit67a8ae084a6d755d27b8b936bee572c91dd84ac4 (patch)
tree1e4035b1d816f0b9e159f0198b48a8e2453b8cf2
parent064d6b8a2cbb4d1c25f5c762eac2d8cf373b526e (diff)
downloadnextcloud-server-67a8ae084a6d755d27b8b936bee572c91dd84ac4.tar.gz
nextcloud-server-67a8ae084a6d755d27b8b936bee572c91dd84ac4.zip
fix search function
-rwxr-xr-xapps/calendar/templates/calendar.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php
index 92c1b8a778a..50d3d70347a 100755
--- a/apps/calendar/templates/calendar.php
+++ b/apps/calendar/templates/calendar.php
@@ -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);';
}
?>
});