Bugzilla – Attachment 2683 Details for
Bug 5027
batch item modification tool modifies unchecked items too
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-bug5027-skip-unticked-checkboxes-when-submitting-in-.patch (text/plain), 1.09 KB, created by
Robin Sheat
on 2010-10-08 01:55:22 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2010-10-08 01:55:22 UTC
Size:
1.09 KB
patch
obsolete
>From d6ef8dc21e267a9850dc6ca83a7fb1506cccf562 Mon Sep 17 00:00:00 2001 >From: Srdjan Jankovic <srdjan@catalyst.net.nz> >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 <robin@catalyst.net.nz> >--- > .../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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5027
: 2683