aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-07-09 13:18:39 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-09 13:18:39 +0200
commit456ce46fcfee2cfd01976d681c2105ab63449de1 (patch)
tree08c6c250d4d5f03f403b1bff7ba4378a0582b95c
parentPatch sxml->html, adding: (diff)
downloadcalp-456ce46fcfee2cfd01976d681c2105ab63449de1.tar.gz
calp-456ce46fcfee2cfd01976d681c2105ab63449de1.tar.xz
Javascript now sends the description on event creation.
-rw-r--r--static/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js
index 678ff244..5024ea67 100644
--- a/static/script.js
+++ b/static/script.js
@@ -285,7 +285,7 @@ async function create_event (date, fd) {
['summary', ['text', fd.get("summary")]]]]
if (fd.get("description")) {
- tree.push(['description', ['text', fd.get("description")]])
+ tree[1].push(['description', ['text', fd.get("description")]])
}
let xmldoc = document.implementation.createDocument("", "", null)