aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-11-17 21:16:35 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-11-17 21:16:35 +0100
commita536c1d863581780883899e284a0a2a9cc73a05f (patch)
treed711268a83bdd45b16c911ff1b2bc0638f351f20
parentStart byday. (diff)
downloadcalp-a536c1d863581780883899e284a0a2a9cc73a05f.tar.gz
calp-a536c1d863581780883899e284a0a2a9cc73a05f.tar.xz
Repair by* input.
-rw-r--r--module/calp/html/vcomponent.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/calp/html/vcomponent.scm b/module/calp/html/vcomponent.scm
index ea3f9629..7d057b67 100644
--- a/module/calp/html/vcomponent.scm
+++ b/module/calp/html/vcomponent.scm
@@ -446,8 +446,8 @@
bymonthday byyearday
byweekno bymonth bysetpos)
(let ((input
- (lambda (value final)
- `(input (@ (class "unit " (or final ""))
+ (lambda* (value optional: (final ""))
+ `(input (@ (class "unit " ,final)
(type "number")
(size 2)
(value ,value)
@@ -482,7 +482,7 @@
((bysetpos) rrule:bysetpos))
it)
'())))
- (input '() "final"))))
+ ,(input '() "final"))))
(else (error "Unknown field, " key))))
;; TODO enable this button