From d6ef8dc21e267a9850dc6ca83a7fb1506cccf562 Mon Sep 17 00:00:00 2001 From: Srdjan Jankovic Date: Fri, 8 Oct 2010 12:45:13 +1300 Subject: [PATCH] bug5027: skip unticked checkboxes when submitting in the background. Signed-off-by: Robin Sheat --- .../prog/en/includes/background-job.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 9d257f4..46922e1 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)); } -- 1.7.1