From d7a76ec209d7400d362fb768eabef6d181aa7563 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 7dca1e83ba..c10484d4ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1251,7 +1251,7 @@ [% END %]

Existing holds

-
+
@@ -1486,7 +1486,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%] [% Asset.js("js/form-submit.js") | $raw%] @@ -1504,7 +1503,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 %]"; @@ -1849,12 +1847,6 @@ [% END %] [% END %] - Sticky = $("#toolbar"); - Sticky.hcSticky({ - stickTo: "#existing_holds", - stickyClass: "floating" - }); - [% IF Koha.Preference('EnableItemGroupHolds') %] $(':radio[name="item_group_id"]').change(function(){ $('input[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 %]