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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-2 / +6 lines)
Lines 319-324 Link Here
319
[% MACRO jsinclude BLOCK %]
319
[% MACRO jsinclude BLOCK %]
320
    [% INCLUDE 'datatables.inc' %]
320
    [% INCLUDE 'datatables.inc' %]
321
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
321
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
322
    <script>
323
        const interface = "[% interface | html %]";
324
        const theme = "[% theme | html %]";
325
    </script>
326
322
    <script>
327
    <script>
323
        function update_tab_display(){
328
        function update_tab_display(){
324
            let selected_type = $('input[name="recordtype"]:checked').val();
329
            let selected_type = $('input[name="recordtype"]:checked').val();
Lines 412-418 Link Here
412
            });
417
            });
413
            $("#marcPreview").on("hidden.bs.modal", function() {
418
            $("#marcPreview").on("hidden.bs.modal", function() {
414
                $("#marcPreviewLabel").html("");
419
                $("#marcPreviewLabel").html("");
415
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> " + _("Loading") + "</div>");
420
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"" + interface + "/" + theme + "/img/spinner-small.gif\" alt=\"\" /> " + _("Loading") + "</div>");
416
            });
421
            });
417
        });
422
        });
418
    </script>
423
    </script>
419
- 

Return to bug 41580