From 3a4f36b002a5651716efe68242f6711fad936448 Mon Sep 17 00:00:00 2001 From: Srdjan Jankovic Date: Tue, 12 Oct 2010 13:03:26 -0400 Subject: [PATCH] bug5027: skip unticked checkboxes when submitting in the background. Signed-off-by: Robin Sheat Signed-off-by: Ian Walls Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/includes/background-job.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background-job.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background-job.inc index 9d257f4ca6..46922e11d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/background-job.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background-job.inc @@ -47,7 +47,7 @@ // gather up form submission var inputs = []; $(':input', f).each(function() { - if (this.type == 'radio') { + if (this.type == 'radio' || this.type == 'checkbox') { if (this.checked) { inputs.push(this.name + '=' + escape(this.value)); } -- 2.39.5