Lines 66-72
Link Here
|
66 |
$(this).parent().siblings('li').find('input[name="sort2"]').attr('name', 'all_sort2'); |
66 |
$(this).parent().siblings('li').find('input[name="sort2"]').attr('name', 'all_sort2'); |
67 |
} ); |
67 |
} ); |
68 |
|
68 |
|
69 |
$('input:checkbox[name="biblionumber"]').change(function(){ |
69 |
$('input:checkbox[name="import_record_id"]').change(function(){ |
70 |
if ( $(this).is(':checked') ) { |
70 |
if ( $(this).is(':checked') ) { |
71 |
$(this).parent().addClass("selected"); |
71 |
$(this).parent().addClass("selected"); |
72 |
$(this).parent().removeClass("unselected"); |
72 |
$(this).parent().removeClass("unselected"); |
Lines 82-93
Link Here
|
82 |
|
82 |
|
83 |
$("#checkAll").click(function(){ |
83 |
$("#checkAll").click(function(){ |
84 |
$("#Aform").checkCheckboxes(); |
84 |
$("#Aform").checkCheckboxes(); |
85 |
$("input:checkbox[name='biblionumber']").change(); |
85 |
$("input:checkbox[name='import_record_id']").change(); |
86 |
return false; |
86 |
return false; |
87 |
}); |
87 |
}); |
88 |
$("#unCheckAll").click(function(){ |
88 |
$("#unCheckAll").click(function(){ |
89 |
$("#Aform").unCheckCheckboxes(); |
89 |
$("#Aform").unCheckCheckboxes(); |
90 |
$("input:checkbox[name='biblionumber']").change(); |
90 |
$("input:checkbox[name='import_record_id']").change(); |
91 |
return false; |
91 |
return false; |
92 |
}); |
92 |
}); |
93 |
|
93 |
|
Lines 131-140
Link Here
|
131 |
|
131 |
|
132 |
[% FOREACH biblio IN biblio_list %] |
132 |
[% FOREACH biblio IN biblio_list %] |
133 |
<div class="biblio unselected" style="border-radius: 5px 5px; -moz-border-radius: 5px; padding: 5px; margin:5px; border-style : solid; border-color : grey; border-width:1px;"> |
133 |
<div class="biblio unselected" style="border-radius: 5px 5px; -moz-border-radius: 5px; padding: 5px; margin:5px; border-style : solid; border-color : grey; border-width:1px;"> |
134 |
<input type="checkbox" name="biblionumber" id="biblionumber[% biblio.biblionumber %]" /> |
134 |
<input type="checkbox" name="import_record_id" id="record_[% biblio.import_record_id %]" value="[% biblio.import_record_id %]" /> |
135 |
<input type="hidden" name="import_record_id" value="[% biblio.import_record_id %]" /> |
|
|
136 |
<input type="hidden" value="[% biblio.rrp %]" name="rrp" /> |
135 |
<input type="hidden" value="[% biblio.rrp %]" name="rrp" /> |
137 |
<label for="biblionumber[% biblionumber %]"><span class="citation" style="font-weight:bold;">[% biblio.citation %]</span></label> |
136 |
<label for="record_[% biblio.import_record_id %]"><span class="citation" style="font-weight:bold;">[% biblio.citation %]</span></label> |
138 |
<span class="match" style="display:block;">[% biblio.overlay_status %]</span> |
137 |
<span class="match" style="display:block;">[% biblio.overlay_status %]</span> |
139 |
[% IF ( biblio.match_biblionumber ) %] |
138 |
[% IF ( biblio.match_biblionumber ) %] |
140 |
Matches biblio [% biblio.match_biblionumber %] (score = [% biblio.match_score %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber %]">[% biblio.match_citation %]</a> |
139 |
Matches biblio [% biblio.match_biblionumber %] (score = [% biblio.match_score %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber %]">[% biblio.match_citation %]</a> |
141 |
- |
|
|