aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 8bcf076..6a971c8 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2231,6 +2231,8 @@ static void HTMLformEnd(qgrow_t *reply)
2231 2231
2232static void HTMLcheckBox(qgrow_t *reply, char *name, char *title, boolean checked, boolean required) 2232static void HTMLcheckBox(qgrow_t *reply, char *name, char *title, boolean checked, boolean required)
2233{ 2233{
2234 // HTML is an absolute fucking horror. This is so that we got an off sent to us if the checkbox is off, otherwise we get nothing.
2235 HTMLhidden(reply, name, "off");
2234 reply->addstrf(reply, " <p>"); 2236 reply->addstrf(reply, " <p>");
2235 reply->addstrf(reply, "<label><input type=\"checkbox\" name=\"%s\"", name); 2237 reply->addstrf(reply, "<label><input type=\"checkbox\" name=\"%s\"", name);
2236 if (checked) 2238 if (checked)