@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -153,7 +153,7 @@ "plugins" : [ "types" ] }).on('ready.jstree', function(){ $(this).jstree('open_all'); - $("#hier"+[% authid %]+"_anchor").on("click", + $("#hier"+[% authid | html %]+"_anchor").on("click", function(e){e.preventDefault(); return false;} ).css("text-decoration", "none").css("color", "#333"); $(".currentauth").css("text-decoration", "none").css("color", "#333"); --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt @@ -93,7 +93,7 @@ "plugins" : [ "types" ] }).on('ready.jstree', function(){ $(this).jstree('open_all') - $("#hier"+[% authid %]+"_anchor").on("click", + $("#hier"+[% authid | html %]+"_anchor").on("click", function(e){e.preventDefault(); return false;} ).css("text-decoration", "none").css("color", "#333"); $(".currentauth").css("text-decoration", "none").css("color", "#333"); --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt @@ -188,7 +188,7 @@ "plugins" : [ "types" ] }).on('ready.jstree', function(){ $(this).jstree('open_all'); - $("#hier"+[% original_authid %]+"_anchor").on("click", + $("#hier"+[% original_authid | html %]+"_anchor").on("click", function(e){e.preventDefault(); return false;} ).css("text-decoration", "none").css("color", "#333"); $(".currentauth").css("text-decoration", "none").css("color", "#333"); --