aboutsummaryrefslogtreecommitdiff
path: root/static/components
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-10 00:13:15 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-10 00:13:15 +0100
commit5211cea181bbdf9c5296f09806c3735197bc2042 (patch)
tree1b0dad1db73330e4c237885100e463f5cae99e64 /static/components
parentBetter handling of popup visibility. (diff)
downloadcalp-5211cea181bbdf9c5296f09806c3735197bc2042.tar.gz
calp-5211cea181bbdf9c5296f09806c3735197bc2042.tar.xz
Close popup on event creation.
Diffstat (limited to 'static/components')
-rw-r--r--static/components/vevent-block.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/static/components/vevent-block.ts b/static/components/vevent-block.ts
index de9cf748..0aad19b2 100644
--- a/static/components/vevent-block.ts
+++ b/static/components/vevent-block.ts
@@ -35,6 +35,11 @@ class ComponentBlock extends ComponentVEvent {
} else {
el.textContent = d;
}
+ } else switch (p.toLowerCase()) {
+ /* We lack that property, but might want to set a default here */
+ case 'summary':
+ el.textContent = 'Ny händelse'
+ break;
}
}