Commit e5550634 authored by Lisa Övermyr's avatar Lisa Övermyr
Browse files

Add cancelled event parameter

parent 43baa002
......@@ -98,6 +98,9 @@ var a = {
};
}
// Cancel event status
_event.cancel = e.cancel || false;
// URL
_event.url = e.url || null;
......@@ -189,6 +192,10 @@ var a = {
if(e.url) {
g += 'URL;VALUE=URI:' + e.url + '\n';
}
if(e.cancel) {
g += 'METHOD:CANCEL\n'
g += 'STATUS:CANCELLED\n'
}
g += 'END:VEVENT\n';
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment