Bug 33637: Update tab ids for batch modification form

This patch adjusts the ids in the submit function

To test:
1 - Browse to tools -> Batch patron modification
2 - Enter cardnumbers and submit
3 - No patrons
4 - Enter borrowernumbers and submit
5 - No patrons
6 - Apply patch
7 - Repeat
8 - Success, patrons are listed

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dea17b8565)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2023-04-28 15:56:54 +00:00 committed by Martin Renvoize
parent c9b0106bd9
commit 2fa45a14d5
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -482,7 +482,7 @@
$("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val("");
} else if ( tab == '#useborrowernumber_panel' ) {
$("#cardnumberuploadfile, #cardnumberlist, #patron_list_id").val("");
} else { // uselist
} else { // uselist_panel
$("#borrowernumberuploadfile, #cardnumberuploadfile, #borrowernumberlist, #cardnumberlist").val("");
}
});