|
Lines 82-88
$(document).ready(function() {
Link Here
|
| 82 |
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone.")); |
82 |
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone.")); |
| 83 |
});[% END %] |
83 |
});[% END %] |
| 84 |
|
84 |
|
| 85 |
$("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today |
85 |
$("#suspend_until").datepicker({ |
|
|
86 |
onClose: function(dateText, inst) { |
| 87 |
validate_date(dateText, inst); |
| 88 |
}, |
| 89 |
minDate: 1, // require that hold suspended until date is after today |
| 90 |
}); |
| 91 |
|
| 86 |
}); |
92 |
}); |
| 87 |
function uncheck_sibling(me){ |
93 |
function uncheck_sibling(me){ |
| 88 |
nodename=me.getAttribute("name"); |
94 |
nodename=me.getAttribute("name"); |
|
Lines 489-495
function validate1(date) {
Link Here
|
| 489 |
|
495 |
|
| 490 |
[% IF AutoResumeSuspendedHolds %] |
496 |
[% IF AutoResumeSuspendedHolds %] |
| 491 |
<label for="suspend_until">until</label> |
497 |
<label for="suspend_until">until</label> |
| 492 |
<input type="text" size="10" id="suspend_until" name="suspend_until"/> |
498 |
<input type="text" size="10" id="suspend_until" name="suspend_until datepicker"/> |
| 493 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
499 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
| 494 |
[% END %] |
500 |
[% END %] |
| 495 |
</form> |
501 |
</form> |
| 496 |
- |
|
|