From bb1adbc4a6f7b1fcffb859b01aed237dce223a28 Mon Sep 17 00:00:00 2001 From: thegunslingers Date: Sun, 24 Jan 2016 11:04:56 -0500 Subject: [PATCH 1/2] ICal Parser Fix A little hack to fix all day ICal Events. The summary Field was being overwritten, by the VALARM Summary. --- js/ical_parser.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/js/ical_parser.js b/js/ical_parser.js index 292f670d..a0e0dce3 100644 --- a/js/ical_parser.js +++ b/js/ical_parser.js @@ -80,6 +80,7 @@ function ical_parser(feed_url, callback){ //Keep track of when we are activly parsing an event var in_event = false; + var summary_set = false; //Use as a holder for the current event being proccessed. var cur_event = null; for(var i=0;i Date: Sun, 24 Jan 2016 12:29:45 -0500 Subject: [PATCH 2/2] ICal Parser Fix V2 Updated the parser fix so it is a little more elegant. --- js/ical_parser.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/ical_parser.js b/js/ical_parser.js index a0e0dce3..af1e3363 100644 --- a/js/ical_parser.js +++ b/js/ical_parser.js @@ -80,7 +80,6 @@ function ical_parser(feed_url, callback){ //Keep track of when we are activly parsing an event var in_event = false; - var summary_set = false; //Use as a holder for the current event being proccessed. var cur_event = null; for(var i=0;i