View | Details | Raw Unified | Return to bug 14060
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +8 lines)
Lines 109-114 $(document).ready(function() { Link Here
109
        }
109
        }
110
    });
110
    });
111
111
112
    $("#suspend_until").datepicker({
113
        onClose: function(dateText, inst) {
114
            validate_date(dateText, inst);
115
        },
116
        minDate: 1, // require that hold suspended until date is after today
117
    });
118
112
});
119
});
113
120
114
//]]>
121
//]]>
Lines 900-906 No patron matched <span class="ex">[% message %]</span> Link Here
900
907
901
            [% IF AutoResumeSuspendedHolds %]
908
            [% IF AutoResumeSuspendedHolds %]
902
            <label for="suspend_until">until</label>
909
            <label for="suspend_until">until</label>
903
            <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
910
            <input type="text" size="10" id="suspend_until" name="suspend_until datepicker" />
904
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
911
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
905
             [% END %]
912
             [% END %]
906
        </form>
913
        </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-3 / +8 lines)
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
- 

Return to bug 14060