Koha/koha-tmpl/opac-tmpl/bootstrap
Martin Renvoize 9708bbe276 Bug 26039: Focus and Scroll to ShelfBrowser on load
When the shelf browser link is clicked we perform a full page reload
which results in a reset in the context. We should immediately focus the
shelf browser and scroll to that region to highlight the change of
content.

Test plan
1/ Enable shelf browser
2/ Search for an item in the open and navigate to the detail page
3/ Click the 'Browse shelf' link
4/ Note that upon page reload the screen scrolls to the 'Browsing...'
location of the screen.
5/ Note that the 'Browsing...' title is  'focused'
6/ Signoff.

Signed-off-by: Stina Hallin <stina.hallin@ub.lu.se>

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

JD amended patch: correctly align JS code

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-19 09:29:49 +02:00
..
css Bug 25906: Compiled CSS (late) 2020-08-18 17:43:29 +02:00
en Bug 26039: Focus and Scroll to ShelfBrowser on load 2020-08-19 09:29:49 +02:00
images Bug 23903: Replace OPAC icons with Font Awesome 2019-10-31 15:40:25 +00:00
itemtypeimg Bug 23148: (follow-up) Replace gif files in the OPAC with pngs 2020-07-20 16:16:37 +02:00
js Bug 26037: openlibrary.org is hit on every Koha requests 2020-08-06 11:37:07 +02:00
lib Bug 26004: Remove unused jQuery plugin jquery.hoverIntent.minified.js from the OPAC 2020-08-03 11:30:35 +02:00