From 62a082cb7d4a3ef26c0d61ee6c046b04ff862d0b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 13 Jul 2020 20:09:17 +0000 Subject: [PATCH] Bug 20154: Stay in the open tab when editing authority record This patch adds some JavaScript to the authority record detail page in the staff interface so that clicking "Edit" will take you to the authority edit page while keeping the same tab open. To test, apply the patch and locate an authority record in your catalog. - Click any of the numbered tabs besides tab 0. - Choose "Edit record" from the "Edit" dropdown menu. - When the authorities edit page loads the same tab should be preselected. Signed-off-by: Marjorie --- koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt index 618e325105..c06d753334 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -110,7 +110,13 @@ [% END %]