Lines 31-36
div#result { margin-top: 1em; }
Link Here
|
31 |
Merging records |
31 |
Merging records |
32 |
</a> |
32 |
</a> |
33 |
</li> |
33 |
</li> |
|
|
34 |
</ol> |
34 |
</nav> |
35 |
</nav> |
35 |
|
36 |
|
36 |
<div class="main container-fluid"> |
37 |
<div class="main container-fluid"> |
Lines 289-301
div#result { margin-top: 1em; }
Link Here
|
289 |
rebuild_target($("#tabs"), $("#resultul")); |
290 |
rebuild_target($("#tabs"), $("#resultul")); |
290 |
}); |
291 |
}); |
291 |
|
292 |
|
292 |
// Creating tabs |
293 |
if( $(".tab-pane.active").length < 1 ){ |
293 |
$("#tabs").tabs(); |
294 |
$("#tabs a:first").tab("show"); |
|
|
295 |
} |
294 |
|
296 |
|
295 |
// Check all checkboxes in first tab, and uncheck all others to avoid |
297 |
// Uncheck all checkboxes in both tabs, then check all checkboxes in first tab |
296 |
// inconsistencies from a page refresh. |
298 |
// to avoid inconsistencies from a page refresh. |
297 |
$('#tabs div#tabrecord[% ref_biblionumber | html %]').find('input[type="checkbox"]').prop('checked', true); |
299 |
$("#tabs input[type='checkbox']").prop("checked", false); |
298 |
$('#tabs > div:not("#tabrecord[% ref_biblionumber | html %]")').find('input[type="checkbox"]').prop('checked', false); |
300 |
$("#tabrecord[% ref_biblionumber | html %] input[type='checkbox']").prop("checked", true ); |
299 |
|
301 |
|
300 |
//Set focus to cataloging search |
302 |
//Set focus to cataloging search |
301 |
$("input[name=q]:eq(0)").focus(); |
303 |
$("input[name=q]:eq(0)").focus(); |
302 |
- |
|
|