From 21794377260d483141f4bd5a9bb90b49ee83486b Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 16 Jan 2012 20:22:54 +0100 Subject: use timepicker to force users to use HH:MM --- apps/calendar/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/calendar/index.php') diff --git a/apps/calendar/index.php b/apps/calendar/index.php index e8e214c0b75..12b51f564b4 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -32,6 +32,8 @@ if(OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'currentview', 'mont OC_Util::addScript('3rdparty/fullcalendar', 'fullcalendar'); OC_Util::addStyle('3rdparty/fullcalendar', 'fullcalendar'); +OC_Util::addScript('3rdparty/timepicker', 'jquery.ui.timepicker'); +OC_Util::addStyle('3rdparty/timepicker', 'jquery.ui.timepicker'); if(OC_Preferences::getValue(OC_USER::getUser(), "calendar", "timezone") == null || OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'timezonedetection') == 'true'){ OC_UTIL::addScript('calendar', 'geo'); } -- cgit v1.2.3