Lines 83-89
$(document).ready(function() {
Link Here
|
83 |
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone.")); |
83 |
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone.")); |
84 |
});[% END %] |
84 |
});[% END %] |
85 |
|
85 |
|
86 |
$("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today |
86 |
$("#suspend_until").datepicker({ |
|
|
87 |
onClose: function(dateText, inst) { |
88 |
validate_date(dateText, inst); |
89 |
}, |
90 |
minDate: 1, // require that hold suspended until date is after today |
91 |
}); |
92 |
|
87 |
$("#view_restrictions").on("click",function(){ |
93 |
$("#view_restrictions").on("click",function(){ |
88 |
$('#debarments-tab-link').click(); |
94 |
$('#debarments-tab-link').click(); |
89 |
}); |
95 |
}); |
Lines 547-553
function validate1(date) {
Link Here
|
547 |
|
553 |
|
548 |
[% IF AutoResumeSuspendedHolds %] |
554 |
[% IF AutoResumeSuspendedHolds %] |
549 |
<label for="suspend_until">until</label> |
555 |
<label for="suspend_until">until</label> |
550 |
<input type="text" size="10" id="suspend_until" name="suspend_until"/> |
556 |
<input type="text" size="10" id="suspend_until" name="suspend_until datepicker"/> |
551 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
557 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
552 |
[% END %] |
558 |
[% END %] |
553 |
</form> |
559 |
</form> |
554 |
- |
|
|