aboutsummaryrefslogtreecommitdiff
path: root/module/html/view/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 20:41:28 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-11 20:41:28 +0200
commit263e64dfe8549e6c726fb06dd5cdc03fa6a90298 (patch)
treed5e1db7248ddd453e71d6776c881f3ce54ac54ed /module/html/view/calendar.scm
parentFix color in popups. (diff)
downloadcalp-263e64dfe8549e6c726fb06dd5cdc03fa6a90298.tar.gz
calp-263e64dfe8549e6c726fb06dd5cdc03fa6a90298.tar.xz
Limit CAL_ class to once per 'thing'.
Diffstat (limited to 'module/html/view/calendar.scm')
-rw-r--r--module/html/view/calendar.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/html/view/calendar.scm b/module/html/view/calendar.scm
index 39f1092d..3c239bc6 100644
--- a/module/html/view/calendar.scm
+++ b/module/html/view/calendar.scm
@@ -291,7 +291,7 @@
(div (@ (id "calendar-dropdown-template") (class "template"))
(select
,@(map (lambda (calendar)
- `(option (@ (value ,(prop calendar 'NAME)))
+ `(option (@ (value ,(html-attr (prop calendar 'NAME))))
,(prop calendar 'NAME)))
calendars))
)))