From a73ec9493b353cf7284b1e02c2e9c6333623fcf8 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 2 Aug 2011 17:38:06 +0200 Subject: calendar-view weekly by default --- application/views/scripts/event/index.phtml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application') diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml index c33afbb..38fec17 100644 --- a/application/views/scripts/event/index.phtml +++ b/application/views/scripts/event/index.phtml @@ -59,6 +59,7 @@ $(document).ready(function() {iniCalendar();}); var calendar = $('#calendar').fullCalendar({ header: { + default: 'week', left: 'title', center: 'prev,next today', right: 'agendaWeek,agendaDay' @@ -68,6 +69,7 @@ $(document).ready(function() {iniCalendar();}); // droppable: true, selectable: true, selectHelper: true, + defaultView: 'agendaWeek', events: "/event/list", -- cgit v1.2.3-55-g7522