diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-15 01:32:29 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-15 01:32:29 +0100 |
commit | ec9f95e5929ad7fd86909002b851e3fa71d2a46b (patch) | |
tree | 11174666b7166465efd714625199cf182c8c85a4 /static/event-creator.ts | |
parent | Reorder some popup setup. (diff) | |
download | calp-ec9f95e5929ad7fd86909002b851e3fa71d2a46b.tar.gz calp-ec9f95e5929ad7fd86909002b851e3fa71d2a46b.tar.xz |
Fix calendar for popup.
Diffstat (limited to '')
-rw-r--r-- | static/event-creator.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/event-creator.ts b/static/event-creator.ts index cf3468ce..74ba4235 100644 --- a/static/event-creator.ts +++ b/static/event-creator.ts @@ -67,9 +67,11 @@ class EventCreator { that.ev = new VEvent(); that.ev.setProperty('summary', 'Created Event'); that.ev.setProperty('uid', uuid()) + that.ev.calendar = btoa('Calendar'); // let ev_block = document.createElement('vevent-block') as ComponentBlock; let ev_block = new ComponentBlock(that.ev.getProperty('uid')); + ev_block.classList.add('generated'); that.event = ev_block; that.ev.register(ev_block); |