summaryrefslogtreecommitdiffstats
path: root/apps/calendar/index.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-01-16 20:22:54 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-01-16 20:22:54 +0100
commit21794377260d483141f4bd5a9bb90b49ee83486b (patch)
treead675f9bbf33ac48fb329db45396ca3f83b1c74e /apps/calendar/index.php
parentc81beab96d3e5f83f395532fb9cf0e2671bcb72c (diff)
downloadnextcloud-server-21794377260d483141f4bd5a9bb90b49ee83486b.tar.gz
nextcloud-server-21794377260d483141f4bd5a9bb90b49ee83486b.zip
use timepicker to force users to use HH:MM
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r--apps/calendar/index.php2
1 files changed, 2 insertions, 0 deletions
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');
}