diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/output/html.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 66b3ad69..93fc5375 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -164,8 +164,13 @@ ,(btn "×" title: "Stäng" onclick: "" - class: '("close-tooltip") - )) + class: '("close-tooltip")) + ,(btn "🗑" + title: "Ta bort" + ;; Apparently an id gets recieved + ;; as the whole object in js. + onclick: (format #f "remove_event(~a)" + id))) ,(tabset (append |