Bug 39467: Fix patron "View restrictions" link in messages
Currently nothing happens when clicking the "View restrictions" link in patron messages. Using the bootstrap api to open it resolves the issue. To test: 1) Go to a patrons details page, click "Restrictions" and add amanual restriction. 2) A message with a "View restrictions" link should appear. 3) Clicking this link does not open the "Restrictions" tab as it should. 4) Apply patch 5) Now this "View restrictions" link should open the "Restrictions" tab Sponsored-by: Gothenburg University Library Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1d6017bbd8
commit
1c3bc68e9c
|
|
@ -102,7 +102,7 @@
|
|||
[% END %] </em
|
||||
><br />
|
||||
[% END %]
|
||||
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a>
|
||||
<a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="(new bootstrap.Tab($('#reldebarments-tab'))).show()"><i class="fa fa-ban"></i> View restrictions</a>
|
||||
</li>
|
||||
<!-- /.blocker -->
|
||||
[% END # /IF userdebarred %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue