Lines 1249-1257
Link Here
|
1249 |
[% ITEM_RESULT.itemcallnumber | html %] |
1249 |
[% ITEM_RESULT.itemcallnumber | html %] |
1250 |
[% IF ( OPACShelfBrowser ) %] |
1250 |
[% IF ( OPACShelfBrowser ) %] |
1251 |
[% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %] |
1251 |
[% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %] |
1252 |
(<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | html %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | html %]#[% tab | html %]">Browse shelf</a>) |
1252 |
(<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | html %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | html %]#[% tab | html %]">Browse shelf<span class="hidden"> (Opens below)</span></a>) |
1253 |
[% ELSE %] |
1253 |
[% ELSE %] |
1254 |
(<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf</a>) |
1254 |
(<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf<span class="hidden"> (Opens below)</span></a>) |
1255 |
[% END %] |
1255 |
[% END %] |
1256 |
[% END %] |
1256 |
[% END %] |
1257 |
[% END %] |
1257 |
[% END %] |
Lines 1583-1588
Link Here
|
1583 |
[% END %] |
1583 |
[% END %] |
1584 |
|
1584 |
|
1585 |
[% IF ( OPACShelfBrowser ) %] |
1585 |
[% IF ( OPACShelfBrowser ) %] |
|
|
1586 |
// Focus on shelf browser if present |
1587 |
var shelfbrowser = $("#shelfbrowser"); |
1588 |
if (shelfbrowser.length > 0) { |
1589 |
$('html,body').animate({ |
1590 |
scrollTop: shelfbrowser.first().offset().top |
1591 |
}, |
1592 |
'slow'); |
1593 |
shelfbrowser.first().find(':focusable').eq(0).focus(); |
1594 |
} |
1586 |
|
1595 |
|
1587 |
(function prepareShelfBrowser(){ |
1596 |
(function prepareShelfBrowser(){ |
1588 |
|
1597 |
|
1589 |
- |
|
|