Bug 21751: (follow-up) Correction to selectors
authorOwen Leonard <oleonard@myacpl.org>
Mon, 28 Jan 2019 13:28:30 +0000 (13:28 +0000)
committerroot <root@665746303f3b>
Mon, 4 Feb 2019 14:13:35 +0000 (14:13 +0000)
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 <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index f40205a..66ad012 100644 (file)
             if ( $('#toolbar').length ) {
                 Sticky = $("#toolbar");
                 Sticky.hcSticky({
-                    stickTo: "#yui-main",
+                    stickTo: "main",
                     stickyClass: "floating"
                 });
             }
index ade7451..ae9ac23 100644 (file)
 
             Sticky = $("#toolbar");
             Sticky.hcSticky({
-                stickTo: "#yui-main",
+                stickTo: "main",
                 stickyClass: "floating"
             });