mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
style warning corrections
This commit is contained in:
parent
f4b0abe422
commit
c2789b85e2
11 changed files with 84 additions and 98 deletions
|
|
@ -41,6 +41,7 @@
|
|||
(good-button (attach-as-child body "button1id"))
|
||||
(scary-button (attach-as-child body "button2id")))
|
||||
(flet ((on-click-good (obj)
|
||||
(declare (ignore obj))
|
||||
(let ((alert-div (create-div body)))
|
||||
(place-before form alert-div)
|
||||
(setf (hiddenp form) t)
|
||||
|
|
@ -59,9 +60,10 @@
|
|||
(radio-value form "radios")
|
||||
(name-value form "textinput")))))
|
||||
(on-click-scary (obj)
|
||||
(declare (ignore obj))
|
||||
(reset form)))
|
||||
;; We need to overide the boostrap default to submit the form html style
|
||||
(set-on-submit form (lambda (obj)()))
|
||||
(set-on-submit form (lambda (obj)(declare (ignore obj))()))
|
||||
(set-on-click good-button #'on-click-good)
|
||||
(set-on-click scary-button #'on-click-scary))
|
||||
(run body)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue