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 496-502
function validate1(date) {
Link Here
|
496 |
|
502 |
|
497 |
[% IF AutoResumeSuspendedHolds %] |
503 |
[% IF AutoResumeSuspendedHolds %] |
498 |
<label for="suspend_until">until</label> |
504 |
<label for="suspend_until">until</label> |
499 |
<input type="text" size="10" id="suspend_until" name="suspend_until"/> |
505 |
<input type="text" size="10" id="suspend_until" name="suspend_until datepicker"/> |
500 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
506 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
501 |
[% END %] |
507 |
[% END %] |
502 |
</form> |
508 |
</form> |
503 |
- |
|
|