@@ -, +, @@
---
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 9 ++++++++-
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 10 ++++++++--
2 files changed, 16 insertions(+), 3 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -121,6 +121,13 @@ $(document).ready(function() {
}
});
+ $("#suspend_until").datepicker({
+ onClose: function(dateText, inst) {
+ validate_date(dateText, inst);
+ },
+ minDate: 1, // require that hold suspended until date is after today
+ });
+
});
//]]>
@@ -948,7 +955,7 @@ No patron matched [% message %]
[% IF AutoResumeSuspendedHolds %]
-
+
Specify date on which to resume [% INCLUDE 'date-format.inc' %]:
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
@@ -82,7 +82,13 @@ $(document).ready(function() {
return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone."));
});[% END %]
- $("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today
+ $("#suspend_until").datepicker({
+ onClose: function(dateText, inst) {
+ validate_date(dateText, inst);
+ },
+ minDate: 1, // require that hold suspended until date is after today
+ });
+
});
function uncheck_sibling(me){
nodename=me.getAttribute("name");
@@ -496,7 +502,7 @@ function validate1(date) {
[% IF AutoResumeSuspendedHolds %]
-
+
Specify date on which to resume [% INCLUDE 'date-format.inc' %]:
[% END %]
--