diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc index 67d0eb6395..152feed293 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc @@ -88,8 +88,8 @@ $(document).ready(function () { $("#header_search a[href='#entire_record']").tab("show"); } } - }); +const template_path = "[% interface | html %]/[% theme | html %]"; diff --git a/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js b/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js index a53a53de38..d91b047258 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js +++ b/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js @@ -1,3 +1,4 @@ +/* global template_path */ $(document).ready(function(){ $(".authority_preview a").on("click", function(e){ e.preventDefault(); @@ -17,6 +18,6 @@ $(document).ready(function(){ }); $("#authorityDetail").on("hidden.bs.modal", function(){ $("#authorityDetail .modal-body, #authorityDetail .modal-title").html(""); - $("#authorityDetail .modal-body").html("
\"\"
"); + $("#authorityDetail .modal-body").html("\"\""); }); });