|
Lines 370-383
function validate1(date) {
Link Here
|
| 370 |
|
370 |
|
| 371 |
[% IF ( RESERVED ) %] |
371 |
[% IF ( RESERVED ) %] |
| 372 |
<p> |
372 |
<p> |
| 373 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" /> |
373 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" checked="checked" /> |
| 374 |
<label for="cancelreserve">Cancel hold</label> |
374 |
<label for="cancelreserve">Cancel hold</label> |
| 375 |
</p> |
375 |
</p> |
| 376 |
[% END %] |
376 |
[% END %] |
| 377 |
|
377 |
|
| 378 |
[% IF ( RESERVE_WAITING ) %] |
378 |
[% IF ( RESERVE_WAITING ) %] |
| 379 |
<p> |
379 |
<p> |
| 380 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="1" /> |
380 |
[%# We *must* cancel waiting holds when overriding, see bug 8559 %] |
|
|
381 |
[%# This checkbox is just a visual cue that the hold will be canceled %] |
| 382 |
<input type="checkbox" checked="checked" disabled="disabled"/> |
| 383 |
[%# This hidden input actually does the deed of canceling the waiting reserve %] |
| 384 |
<input type="hidden" id="cancelreserve" name="cancelreserve" value="1"/> |
| 381 |
<label for="cancelreserve">Cancel hold</label> |
385 |
<label for="cancelreserve">Cancel hold</label> |
| 382 |
</p> |
386 |
</p> |
| 383 |
[% END %] |
387 |
[% END %] |
| 384 |
- |
|
|