From 0904863c7559467ef9a6f5210950c04dcc5ee04e 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 Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 2 +- .../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 f40205aa3b..66ad012be4 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 ade7451ac4..ae9ac23102 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.39.5