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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (-1 / +1 lines)
Lines 60-66 Link Here
60
                <legend>Add manual restriction</legend>
60
                <legend>Add manual restriction</legend>
61
                <ol>
61
                <ol>
62
                    <li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li>
62
                    <li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li>
63
                    <li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="10" value="" class="datepicker" type="text" />
63
                    <li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="20" value="" class="datepicker" type="text" />
64
                        <a href="#" class="clear-date" id="clear-date-rexpiration">Clear date</a></li>
64
                        <a href="#" class="clear-date" id="clear-date-rexpiration">Clear date</a></li>
65
                </ol>
65
                </ol>
66
            <fieldset class="action"><input type="submit" value="Add restriction" /> <a href="#" class="cancel" id="cancel_manual_restriction">Cancel</a></fieldset>
66
            <fieldset class="action"><input type="submit" value="Add restriction" /> <a href="#" class="cancel" id="cancel_manual_restriction">Cancel</a></fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/js/calendar.js (-2 / +2 lines)
Lines 193-199 $(document).ready(function () { Link Here
193
        if (!is_valid_date($(this).val())) {
193
        if (!is_valid_date($(this).val())) {
194
            $(this).val("");
194
            $(this).val("");
195
        } else {
195
        } else {
196
            $(this).datepicker("setDate",$(this).val());
196
            var the_date = $.datepicker.parseDate(dateformat_string, $(this).val());
197
            $(this).datepicker("setDate",the_date);
197
        }
198
        }
198
    });
199
    });
199
    // http://jqueryui.com/demos/datepicker/#date-range
200
    // http://jqueryui.com/demos/datepicker/#date-range
200
- 

Return to bug 28538