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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt (-8 / +10 lines)
Lines 330-341 Link Here
330
    [% END %]
330
    [% END %]
331
    [% INCLUDE 'calendar.inc' %]
331
    [% INCLUDE 'calendar.inc' %]
332
    [% INCLUDE 'datatables.inc' %]
332
    [% INCLUDE 'datatables.inc' %]
333
    <script>
333
    [% IF (new or modify) %]
334
        function confirmDelete() {
334
        <script>
335
            return confirm(_("Are you sure you want to delete this numbering pattern?"));
336
        }
337
338
        [% IF (new or modify) %]
339
            function testPattern() {
335
            function testPattern() {
340
                var frequencyid = $("#frequency").val();
336
                var frequencyid = $("#frequency").val();
341
                var firstacquidate = $("#firstacquidate").val();
337
                var firstacquidate = $("#firstacquidate").val();
Lines 383-393 Link Here
383
                    }
379
                    }
384
                });
380
                });
385
            }
381
            }
386
        [% END %]
382
        </script>
383
    [% END %]
387
384
385
    <script>
388
        function show_blocking_subs() {
386
        function show_blocking_subs() {
389
            $("#blocking_subs").show();
387
            $("#blocking_subs").show();
390
        }
388
        }
389
390
        function confirmDelete() {
391
            return confirm(_("Are you sure you want to delete this numbering pattern?"));
392
        }
393
391
        $(document).ready(function(){
394
        $(document).ready(function(){
392
395
393
            $("#numberpatternst").kohaTable({
396
            $("#numberpatternst").kohaTable({
394
- 

Return to bug 41578