use INPUT-FIELD-VALUE for check-box
This commit is contained in:
parent
ca7e42cfa0
commit
e6e4ea0f1a
|
@ -66,9 +66,7 @@
|
||||||
(error "not a positive integer"))
|
(error "not a positive integer"))
|
||||||
(handler-options req "Please enter a valid, positive integer number"))))
|
(handler-options req "Please enter a valid, positive integer number"))))
|
||||||
((returned-via? submit-cache bindings)
|
((returned-via? submit-cache bindings)
|
||||||
(let ((cache-plugins? (if (input-field-binding cache-checkbox bindings)
|
(let ((cache-plugins? (input-field-value cache-checkbox bindings)))
|
||||||
#t
|
|
||||||
#f)))
|
|
||||||
(set-options-cache-surflets? cache-plugins?)
|
(set-options-cache-surflets? cache-plugins?)
|
||||||
(handler-options req
|
(handler-options req
|
||||||
(format #f "Caching turned ~s."
|
(format #f "Caching turned ~s."
|
||||||
|
|
Loading…
Reference in New Issue