Bug 33591: Restore auto-select of checkboxes of src record when merging

When merging bib records the first tab (the source record) should have
all the checkboxes checked by default.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-05-03 16:54:06 +02:00 committed by Tomas Cohen Arazi
parent 0c1d7fe0fb
commit b614146972
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -295,7 +295,7 @@ div#result { margin-top: 1em; }
// Uncheck all checkboxes in both tabs, then check all checkboxes in first tab
// to avoid inconsistencies from a page refresh.
$("#tabs input[type='checkbox']").prop("checked", false);
$("#tabrecord[% ref_biblionumber | html %] input[type='checkbox']").prop("checked", true );
$("#tabrecord[% ref_biblionumber | html %]_panel input[type='checkbox']").prop("checked", true );
//Set focus to cataloging search
$("input[name=q]:eq(0)").focus();