plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Tue Jul 8 16:22:47 CEST 2014


 plugins/calendar/calendar_ui.js |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 0c5465c2ad73e330dda104fcb9ef779ed9e1df0f
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Tue Jul 8 16:22:40 2014 +0200

    Sync list view settings when opening quickview; advance list view by one week

diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index ed1428b..2e63eb7 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -114,7 +114,7 @@ function rcube_calendar_ui(settings)
         day: 'dddd ' + settings['date_long'],
         table: settings.dates_long
       },
-      listPage: 1,  // advance one day in agenda view
+      listPage: 7,  // advance one week in agenda view
       listRange: settings.agenda_range,
       listSections: settings.agenda_sections,
       tableCols: ['handle', 'date', 'time', 'title', 'location'],
@@ -2237,6 +2237,8 @@ function rcube_calendar_ui(settings)
           },
           height: h - 50,
           defaultView: fc.fullCalendar('getView').name || fullcalendar_defaults.defaultView,
+          listRange: fc.fullCalendar('option', 'listRange'),
+          listSections: fc.fullCalendar('option', 'listSections'),
           date: date.getDate(),
           month: date.getMonth(),
           year: date.getFullYear(),




More information about the commits mailing list