|
Lines 167-177
Link Here
|
| 167 |
|
167 |
|
| 168 |
<fieldset class="rows left"> |
168 |
<fieldset class="rows left"> |
| 169 |
<legend>Hold details</legend> |
169 |
<legend>Hold details</legend> |
| 170 |
[% UNLESS ( multi_hold ) %] |
170 |
<form action="placerequest.pl" method="post" name="form" id="hold-request-form"> |
| 171 |
<form action="placerequest.pl" method="post" onsubmit="return check();" name="form" id="hold-request-form"> |
|
|
| 172 |
[% ELSE %] |
| 173 |
<form action="placerequest.pl" method="post" onsubmit="return checkMultiHold();" name="form"> |
| 174 |
[% END %] |
| 175 |
|
171 |
|
| 176 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
172 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
| 177 |
<input type="hidden" name="type" value="str8" /> |
173 |
<input type="hidden" name="type" value="str8" /> |
|
Lines 747-752
Link Here
|
| 747 |
"margin-right":"0em" |
743 |
"margin-right":"0em" |
| 748 |
}); |
744 |
}); |
| 749 |
|
745 |
|
|
|
746 |
[% UNLESS ( multi_hold ) %] |
| 747 |
$("#hold-request-form").on("submit", function(){ |
| 748 |
return check(); |
| 749 |
}); |
| 750 |
[% ELSE %] |
| 751 |
$("#hold-request-form").on("submit", function(){ |
| 752 |
return checkMultiHold(); |
| 753 |
}); |
| 754 |
[% END %] |
| 755 |
|
| 750 |
}); |
756 |
}); |
| 751 |
|
757 |
|
| 752 |
function check() { |
758 |
function check() { |
| 753 |
- |
|
|