bug5027: skip unticked checkboxes when submitting in the background.
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit 3a4f36b002)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
fc78b73764
commit
ab774516fb
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue