Bug 30884: Fix jQuery selector to correctly detect active tab
authorSlava Shishkin <slavashishkin@gmail.com>
Fri, 3 Jun 2022 14:47:46 +0000 (17:47 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 14:31:06 +0000 (11:31 -0300)
commitf0062c67d6628ded2db76a9bb16a44e694acbaac
tree18f8fbf93185c7436a3fa599beb49d095ac466b4
parent8f09ef75c365fd20dcdfefb92122e1b0c6afa6d6
Bug 30884: Fix jQuery selector to correctly detect active tab

To reproduce:
1. Go to /tools/modborrowers.pl and fill form Card number list with data and click Continue.
2. It should give "No patron card numbers or borrowernumbers given." warning.
3. Using the browser inspector tool see that post fields cardnumberlist or borrowernumberlist
   is sent with empty data.

Apply the patch, and then:
1. Fill form Card number or Borrowernumber list and click Continue.
2. Get the result: table with patrons for editing or warning about not found number.
3. Using the inspector tool see that request has data from the active tab in the form.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt