From aa78aee1934113b382265562aec7a509a151129c Mon Sep 17 00:00:00 2001 From: Julian1998 Date: Mon, 19 Mar 2018 14:38:45 +0100 Subject: [PATCH] Updating Fullcalendar for translation fixes (e.g. Chinese) and replaced non-existing function --- js/app/models/calendarmodel.js | 2 +- js/app/models/webcalModel.js | 2 +- js/bower.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/app/models/calendarmodel.js b/js/app/models/calendarmodel.js index 126a2f5e0..b93a85424 100644 --- a/js/app/models/calendarmodel.js +++ b/js/app/models/calendarmodel.js @@ -90,7 +90,7 @@ app.factory('Calendar', function($window, Hook, VEventService, TimezoneService, return Promise.all(promises).then(() => { callback(vevents); - fcAPI.reportEventChange(); + fcAPI.eventManager.currentPeriod.release(); context.fcEventSource.isRendering = false; iface.emit(Calendar.hookFinishedRendering); diff --git a/js/app/models/webcalModel.js b/js/app/models/webcalModel.js index 44ad15581..aac20d3b6 100644 --- a/js/app/models/webcalModel.js +++ b/js/app/models/webcalModel.js @@ -93,7 +93,7 @@ app.factory('WebCal', function($http, Calendar, VEvent, TimezoneService, WebCalS return Promise.all(promises).then(() => { callback(vevents); - fcAPI.reportEventChange(); + fcAPI.eventManager.currentPeriod.release(); iface.fcEventSource.isRendering = false; iface.emit(Calendar.hookFinishedRendering); diff --git a/js/bower.json b/js/bower.json index 6505d8209..b724586e0 100644 --- a/js/bower.json +++ b/js/bower.json @@ -6,7 +6,7 @@ "jquery-timepicker": "883bb2cd94", "jstzdetect": "https://github.com/georgehrke/jstimezonedetect.git", "ical.js": "1.2.2", - "fullcalendar": "3.4.0", + "fullcalendar": "3.9.0", "hsl_rgb_converter": "https://github.com/kayellpeee/hsl_rgb_converter.git", "autosize": "^3.0.20" },