From c13950120eda438ff4d70b396995b3384935a733 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 28 Jan 2019 13:28:30 +0000 Subject: [PATCH] Bug 21751: (follow-up) Correction to selectors This patch makes a couple of corrections to the selectors used by hcsticky in targeting the position of the floating toolbar. These changes were made necessary by changes made in recently-pushed patches. To test, confirm that these two pages work correctly: - Acquisitions -> Vendor -> View basket - Patrons -> New patron --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index f40205a..66ad012 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -785,7 +785,7 @@ if ( $('#toolbar').length ) { Sticky = $("#toolbar"); Sticky.hcSticky({ - stickTo: "#yui-main", + stickTo: "main", stickyClass: "floating" }); } 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 ade7451..ae9ac23 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1161,7 +1161,7 @@ Sticky = $("#toolbar"); Sticky.hcSticky({ - stickTo: "#yui-main", + stickTo: "main", stickyClass: "floating" }); -- 2.1.4