aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 20:05:56 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 20:05:56 +0200
commitaa18e57dfdf2bd0f626d7101ab712e6a0ff6dbf3 (patch)
treec82eea859f7aac03f0e8daa5cbec7ff461411bf6 /module
parentKeep summary when editing existing elements. (diff)
downloadcalp-aa18e57dfdf2bd0f626d7101ab712e6a0ff6dbf3.tar.gz
calp-aa18e57dfdf2bd0f626d7101ab712e6a0ff6dbf3.tar.xz
Focus summary when editing existing.
Diffstat (limited to 'module')
-rw-r--r--module/entry-points/server.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm
index 466860cd..dc675813 100644
--- a/module/entry-points/server.scm
+++ b/module/entry-points/server.scm
@@ -163,6 +163,9 @@
(format #f "No event with UID '~a'" uid))))
;; TODO this fails when dtstart is <date>.
+ ;; TODO If data has an explicit UID and that UID already exists we
+ ;; overwrite it in the database. We however don't remove the old
+ ;; event from the in-memory set, but rather just adds the new.
(POST "/insert" (cal data)
(unless (and cal data)