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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt (-1 / +10 lines)
Lines 122-127 Link Here
122
[% MACRO jsinclude BLOCK %]
122
[% MACRO jsinclude BLOCK %]
123
    [% Asset.js("js/tools-menu.js") | $raw %]
123
    [% Asset.js("js/tools-menu.js") | $raw %]
124
    [% INCLUDE 'calendar.inc' %]
124
    [% INCLUDE 'calendar.inc' %]
125
    <script>
126
        $(document).ready(function () {
127
            $("#starttime").on("blur", function () {
128
                var time = $(this).val();
129
                if (/^\d:\d{2}$/.test(time)) {
130
                    $(this).val("0" + time);
131
                }
132
            });
133
        });
134
    </script>
125
[% END %]
135
[% END %]
126
136
127
[% INCLUDE 'intranet-bottom.inc' %]
137
[% INCLUDE 'intranet-bottom.inc' %]
128
- 

Return to bug 37402