From 7f932d1c280673eb90deb8ecc488bb9c39b5352e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 26 Apr 2024 17:01:06 +0000 Subject: [PATCH] Bug 36694: Remove HC sticky from remaining staff pages --- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 10 +--------- .../prog/en/modules/tools/additional-contents.tt | 8 +------- .../tools/automatic_item_modification_by_age.tt | 10 +--------- .../intranet-tmpl/prog/en/modules/tools/letter.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/viewlog.tt | 3 +-- .../prog/en/modules/virtualshelves/shelves.tt | 11 +---------- koha-tmpl/intranet-tmpl/prog/js/letter.js | 10 ---------- koha-tmpl/intranet-tmpl/prog/js/viewlog.js | 10 ---------- 8 files changed, 6 insertions(+), 58 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 11d6d34c81..6af2f21ccd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1080,7 +1080,7 @@ [% END %]

Existing holds

-
+
@@ -1315,7 +1315,6 @@ [% INCLUDE 'datatables.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'columns_settings.inc' %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] [% INCLUDE 'select2.inc' %] [% Asset.js("js/holds.js") | $raw%] @@ -1332,7 +1331,6 @@ "bKohaColumnsUseNames": true, }, hold_table_settings); }); - var Sticky; var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; var borrowernumber = "[% patron.borrowernumber | $raw %]"; var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; @@ -1687,12 +1685,6 @@ [% END %] [% END %] - Sticky = $("#toolbar"); - Sticky.hcSticky({ - stickTo: "#existing_holds", - stickyClass: "floating" - }); - [% IF Koha.Preference('EnableItemGroupHolds') %] $(':radio[name="item_group_id"]').change(function(){ $(':radio[name="checkitem"]').prop('checked', false); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index 2edc683570..2aadbd9730 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -203,7 +203,7 @@ [% BLOCK add_form %]

[% PROCESS page_heading %]

-
+
@@ -290,15 +290,7 @@ [% Asset.js("js/automatic_item_modification_by_age.js") | $raw %] [% IF op == 'edit_form' %] [% END #/print %] - [% IF op == 'view' %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] - [% END %]