Lines 880-886
Link Here
|
880 |
[% END %] |
880 |
[% END %] |
881 |
[% ELSE %] |
881 |
[% ELSE %] |
882 |
<div id="addcomment"> |
882 |
<div id="addcomment"> |
883 |
<a class="login-link loginModal-trigger" role="button" data-toggle="modal" data-return="true" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment. |
883 |
<a class="login-link loginModal-trigger" role="button" data-toggle="modal" data-return="true" data-tab="comment" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment. |
884 |
</div> |
884 |
</div> |
885 |
[% END # / IF loggedinusername %] |
885 |
[% END # / IF loggedinusername %] |
886 |
</div> <!-- / #comments --> |
886 |
</div> <!-- / #comments --> |
Lines 1705-1710
Link Here
|
1705 |
showBsTab("bibliodescriptions", "holdings"); |
1705 |
showBsTab("bibliodescriptions", "holdings"); |
1706 |
[% END -%] |
1706 |
[% END -%] |
1707 |
|
1707 |
|
|
|
1708 |
let urlParams = new URLSearchParams(window.location.search); |
1709 |
if ( urlParams.has('tab') ) { |
1710 |
let tab = urlParams.get('tab'); |
1711 |
if ( tab == 'comment' ) { |
1712 |
showBsTab("bibliodescriptions", "comments"); |
1713 |
} |
1714 |
} |
1715 |
|
1708 |
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] |
1716 |
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] |
1709 |
$(".l_Results").show(); |
1717 |
$(".l_Results").show(); |
1710 |
$("#a_listResults").on("click", function(e){ |
1718 |
$("#a_listResults").on("click", function(e){ |