Koha/koha-tmpl/intranet-tmpl
Fridolin Somers e269d6e6e6
Bug 18707: Background jobs post disabled inputs
For example, in Tools > Batch item modification input of deleted subfields are disabled.
This form is posted using background job via JS code.
Looks like this JS code converts a POST form into a GET URL, including inputs that are disabled :

koha-tmpl/intranet-tmpl/prog/js/background-job-progressbar.js
function submitBackgroundJob(f) {
...
$(':input', f).each(function() {
...

This patch add a :enabled to selector

Test plan :
<to define>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-07-15 11:27:59 +01:00
..
js Bug 21304: (follow-up) Fix style of search results browser 2019-03-22 19:15:44 +00:00
lib Bug 23045: Return record along with errors 2019-07-01 14:52:38 +01:00
prog Bug 18707: Background jobs post disabled inputs 2019-07-15 11:27:59 +01:00