From e400c792f5ba5eee1a5df5e2cdd3f0c83c53706f 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 b27286fb1e..eafd91e535 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 ca4a298717..2a139559da 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1758,7 +1758,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 %] @@ -1771,8 +1770,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 %] @@ -1877,12 +1874,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