From 6bbe30b77c34af7c2b49b8fed11f58293ca03707 Mon Sep 17 00:00:00 2001 From: Jan Kissig Date: Fri, 23 Dec 2022 21:05:51 +0100 Subject: [PATCH] =?UTF-8?q?Bug=C2=A032523=20-=20Shortcuts=20/=20Links=20to?= =?UTF-8?q?=20missing=20fields=20in=20MARC-Editor=20don't=20work=20as=20ex?= =?UTF-8?q?pected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 5d664a3a99..46157c8336 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -177,7 +177,7 @@ e.preventDefault(); var tab = $(this).data("tab"); var field = $(this).data("field"); - var tablink = $("a[data-tabid='" + tab + "']" ); + var tablink = $("a[data-tabid='" + tab + "']" ).get(0).hash; selectTab( tablink ); window.scrollTo( 0, getScrollto( field, "toolbar" ) ); }); -- 2.25.1