From a95ed5a94ffb92de18e9a01f5f3381b26220be2e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 26 Apr 2024 16:27:59 +0000 Subject: [PATCH] Bug 36694: Remove HC sticky from members/ pages --- .../intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- .../prog/en/modules/members/memberentrygen.tt | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index b4f6c4c7bd..30e647e1e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -4,7 +4,7 @@ [% USE Notices %] [% USE AuthorisedValues %] [% USE scalar %] -
+
[% IF CAN_user_borrowers_edit_borrowers %] Edit [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index f684abe2d2..51c4097a37 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1683,7 +1683,6 @@ legend:hover { [% END %]
[% MACRO jsinclude BLOCK %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] @@ -1696,7 +1695,6 @@ legend:hover { $("#cn_max").hide(); } } - var Sticky; function showHideFields(){ [% UNLESS step == 1 %] [% IF fieldstohide.match('identity') %] @@ -1789,12 +1787,6 @@ legend:hover { $("#saverecord").css({ 'margin-left': 0 }); - Sticky = $("#toolbar"); - Sticky.hcSticky({ - stickTo: "main", - stickyClass: "floating" - }); - [% IF borrower_data.categorycode %] update_category_code( "[% borrower_data.categorycode | html %]" ); [% ELSE %] -- 2.30.2