From 7f3fe24570b5ee1958cb8bd80c93283f2ace27e6 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 Signed-off-by: Owen Leonard --- .../intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- .../prog/en/modules/members/memberentrygen.tt | 9 --------- 2 files changed, 1 insertion(+), 10 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 08e5b0597d..a07ba2a92b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -5,7 +5,7 @@ [% USE AuthorisedValues %] [% USE NoticeTemplates %] [% 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 6877ef453f..1a5e488f3d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1753,7 +1753,6 @@ legend.collapsed i.fa.fa-caret-down::before { [% 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 %] @@ -1766,8 +1765,6 @@ legend.collapsed i.fa.fa-caret-down::before { $("#cn_max").hide(); } } - var Sticky; - function showHideFields(){ $("#messaging_prefs_loading, #guarantor_template").hide(); [% UNLESS step == 1 %] @@ -1872,12 +1869,6 @@ legend.collapsed i.fa.fa-caret-down::before { $("#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.39.2