Lines 45-56
function submitBackgroundJob(f) {
Link Here
|
45 |
$(':input', f).each(function() { |
45 |
$(':input', f).each(function() { |
46 |
if (this.type == 'radio' || this.type == 'checkbox') { |
46 |
if (this.type == 'radio' || this.type == 'checkbox') { |
47 |
if (this.checked) { |
47 |
if (this.checked) { |
48 |
inputs.push(this.name + '=' + escape(this.value)); |
48 |
inputs.push(this.name + '=' + encodeURIComponent(this.value)); |
49 |
} |
49 |
} |
50 |
} else if (this.type == 'button') { |
50 |
} else if (this.type == 'button') { |
51 |
; // do nothing |
51 |
; // do nothing |
52 |
} else { |
52 |
} else { |
53 |
inputs.push(this.name + '=' + escape(this.value)); |
53 |
inputs.push(this.name + '=' + encodeURIComponent(this.value)); |
54 |
} |
54 |
} |
55 |
|
55 |
|
56 |
}); |
56 |
}); |
57 |
- |
|
|