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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +9 lines)
Lines 107-112 $(document).ready(function() { Link Here
107
    $("#onsite_checkout").click(function(){
107
    $("#onsite_checkout").click(function(){
108
        toggle_onsite_checkout();
108
        toggle_onsite_checkout();
109
    });
109
    });
110
111
    $("#suspend_until").datepicker({
112
        onClose: function(dateText, inst) {
113
            validate_date(dateText, inst);
114
        },
115
        minDate: 1, // require that hold suspended until date is after today
116
    });
117
110
});
118
});
111
119
112
//]]>
120
//]]>
Lines 949-955 No patron matched <span class="ex">[% message | html %]</span> Link Here
949
957
950
            [% IF AutoResumeSuspendedHolds %]
958
            [% IF AutoResumeSuspendedHolds %]
951
            <label for="suspend_until">until</label>
959
            <label for="suspend_until">until</label>
952
            <input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker" />
960
            <input type="text" size="10" id="suspend_until" name="suspend_until datepicker" />
953
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
961
            <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
954
             [% END %]
962
             [% END %]
955
        </form>
963
        </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-3 / +8 lines)
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
- 

Return to bug 14060