diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index bd4a9a78..aac9d5a2 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -135,9 +135,9 @@ Module.register("calendar", { // Override socket notification handler. socketNotificationReceived: function (notification, payload) { if (notification === "FETCH_CALENDAR") { - this.sendSocketNotification(notification, {"url": payload.url, "id": this.identifier}) + this.sendSocketNotification(notification, { url: payload.url, id: this.identifier }); } - + if (this.identifier !== payload.id) { return; }