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 121-126 $(document).ready(function() { Link Here
121
        }
121
        }
122
    });
122
    });
123
123
124
    $("#suspend_until").datepicker({
125
        onClose: function(dateText, inst) {
126
            validate_date(dateText, inst);
127
        },
128
        minDate: 1, // require that hold suspended until date is after today
129
    });
130
124
});
131
});
125
132
126
//]]>
133
//]]>
Lines 948-954 No patron matched <span class="ex">[% message %]</span> Link Here
948
955
949
            [% IF AutoResumeSuspendedHolds %]
956
            [% IF AutoResumeSuspendedHolds %]
950
            <label for="suspend_until">until</label>
957
            <label for="suspend_until">until</label>
951
            <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
958
            <input type="text" size="10" id="suspend_until" name="suspend_until datepicker" />
952
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
959
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
953
             [% END %]
960
             [% END %]
954
        </form>
961
        </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 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
- 

Return to bug 14060