summaryrefslogtreecommitdiffstats
path: root/apps/calendar/index.php
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-10-21 18:27:12 +0200
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-10-21 18:27:12 +0200
commitc40383b6102130ca1e94a9ce2afe48af4d0ffc81 (patch)
tree87ae027c15ab17ac40c48df99693b143e9b237a6 /apps/calendar/index.php
parente48377d85b49402e1ad441a44508af612b8dda2c (diff)
downloadnextcloud-server-c40383b6102130ca1e94a9ce2afe48af4d0ffc81.tar.gz
nextcloud-server-c40383b6102130ca1e94a9ce2afe48af4d0ffc81.zip
enable listview button
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r--apps/calendar/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php
index 2764184dac5..2442d27db49 100644
--- a/apps/calendar/index.php
+++ b/apps/calendar/index.php
@@ -27,7 +27,7 @@ if(OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'currentview', 'mont
OC_Preferences::setValue(OC_USER::getUser(), "calendar", "currentview", "month");
}
if(OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'currentview', 'month') == "listview"){
- OC_Preferences::setValue(OC_USER::getUser(), "calendar", "currentview", "month");
+ OC_Preferences::setValue(OC_USER::getUser(), "calendar", "currentview", "list");
}
OC_Util::addScript('3rdparty/fullcalendar', 'fullcalendar');