From 50fa36ad449374d24ddf48468acd0f8105cc3923 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 Signed-off-by: Owen Leonard Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer --- .../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 39ed6cd990..1380aa37dc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1246,7 +1246,7 @@ [% END %]

Existing holds

-
+
@@ -1482,7 +1482,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%] @@ -1500,7 +1499,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 %]"; @@ -1867,12 +1865,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 da14ca5c2b..cae16e2d56 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 %]

-
+
@@ -554,7 +554,6 @@ [% INCLUDE 'calendar.inc' %] [% INCLUDE 'select2.inc' %] [% Asset.js("js/tools-menu.js") | $raw %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt index 88e88e2580..b89705f446 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt @@ -50,7 +50,7 @@
[% INCLUDE 'csrf-token.inc' %]

Rules for automatic item modifications by age

-
+
@@ -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 %]