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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc (-1 / +1 lines)
Lines 88-95 $(document).ready(function () { Link Here
88
            $("#header_search a[href='#entire_record']").tab("show");
88
            $("#header_search a[href='#entire_record']").tab("show");
89
        }
89
        }
90
    }
90
    }
91
92
});
91
});
92
const template_path = "[% interface | html %]/[% theme | html %]";
93
93
94
</script>
94
</script>
95
<!-- / authorities_js.inc -->
95
<!-- / authorities_js.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js (-2 / +2 lines)
Lines 1-3 Link Here
1
/* global template_path */
1
$(document).ready(function(){
2
$(document).ready(function(){
2
    $(".authority_preview a").on("click", function(e){
3
    $(".authority_preview a").on("click", function(e){
3
        e.preventDefault();
4
        e.preventDefault();
Lines 17-22 $(document).ready(function(){ Link Here
17
    });
18
    });
18
    $("#authorityDetail").on("hidden.bs.modal", function(){
19
    $("#authorityDetail").on("hidden.bs.modal", function(){
19
        $("#authorityDetail .modal-body, #authorityDetail .modal-title").html("");
20
        $("#authorityDetail .modal-body, #authorityDetail .modal-title").html("");
20
        $("#authorityDetail .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /></div>");
21
        $("#authorityDetail .modal-body").html("<img src=\"" + template_path + "/img/spinner-small.gif\" alt=\"\" />");
21
    });
22
    });
22
});
23
});
23
- 

Return to bug 34180