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>
(cherry picked from commit b614146972)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-05-03 16:54:06 +02:00 committed by Matt Blenkinsop
parent bee6066016
commit c815ba4b54

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();