Lines 159-165
Link Here
|
159 |
<form action="/cgi-bin/koha/opac-reserve.pl" method="post" id="hold-request-form"> |
159 |
<form action="/cgi-bin/koha/opac-reserve.pl" method="post" id="hold-request-form"> |
160 |
<input type="hidden" name="place_reserve" value="1"/> |
160 |
<input type="hidden" name="place_reserve" value="1"/> |
161 |
<!-- These values are set dynamically by js --> |
161 |
<!-- These values are set dynamically by js --> |
162 |
<input type="hidden" name="biblionumbers" id="biblionumbers"/> |
|
|
163 |
<input type="hidden" name="selecteditems" id="selections"/> |
162 |
<input type="hidden" name="selecteditems" id="selections"/> |
164 |
<div id="bigloop"> |
163 |
<div id="bigloop"> |
165 |
|
164 |
|
Lines 178-183
Link Here
|
178 |
[% END %] |
177 |
[% END %] |
179 |
<p> |
178 |
<p> |
180 |
[% IF ( bibitemloo.holdable ) %] |
179 |
[% IF ( bibitemloo.holdable ) %] |
|
|
180 |
<input name="biblionumber" type="hidden" value="[% bibitemloo.biblionumber | html %]"/> |
181 |
<input class="reserve_mode" name="reserve_mode" type="hidden" value="single"/> |
181 |
<input class="reserve_mode" name="reserve_mode" type="hidden" value="single"/> |
182 |
<input class="single_bib" name="single_bib" type="hidden" value="[% bibitemloo.biblionumber | html %]"/> |
182 |
<input class="single_bib" name="single_bib" type="hidden" value="[% bibitemloo.biblionumber | html %]"/> |
183 |
<span class="confirmjs_hold" title="[% bibitemloo.biblionumber | html %]" style="padding:.3em"></span> |
183 |
<span class="confirmjs_hold" title="[% bibitemloo.biblionumber | html %]" style="padding:.3em"></span> |
Lines 620-626
Link Here
|
620 |
|
620 |
|
621 |
// When 'Place Hold' button is clicked |
621 |
// When 'Place Hold' button is clicked |
622 |
$(".placehold").click(function(){ |
622 |
$(".placehold").click(function(){ |
623 |
var biblionumbers = ""; |
|
|
624 |
var selections = ""; |
623 |
var selections = ""; |
625 |
|
624 |
|
626 |
[% IF new_reserves_allowed %] |
625 |
[% IF new_reserves_allowed %] |
Lines 639-645
Link Here
|
639 |
var badBib = null; |
638 |
var badBib = null; |
640 |
$(".confirmjs:checked").each(function() { |
639 |
$(".confirmjs:checked").each(function() { |
641 |
var biblioNum = $(this).val(); |
640 |
var biblioNum = $(this).val(); |
642 |
biblionumbers += biblioNum + "/"; |
|
|
643 |
selections += biblioNum + "/"; |
641 |
selections += biblioNum + "/"; |
644 |
|
642 |
|
645 |
// If required hold note is empty, make it visible |
643 |
// If required hold note is empty, make it visible |
Lines 677-683
Link Here
|
677 |
} |
675 |
} |
678 |
|
676 |
|
679 |
$("#selections").val(selections); |
677 |
$("#selections").val(selections); |
680 |
$("#biblionumbers").val(biblionumbers); |
|
|
681 |
|
678 |
|
682 |
return true; |
679 |
return true; |
683 |
}); |
680 |
}); |