[Koha-bugs] [Bug 18707] Background jobs post disabled inputs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 28 13:57:57 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18707

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63866|0                           |1
        is obsolete|                            |

--- Comment #6 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 91065
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91065&action=edit
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 at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list