Browse Source

Bug 18553 - Incorrect "Loading..." tag on moremember.tt when no clubs defined

To test:
1 - Have no clubs
2 - View Details tab for a patron
3 - Note the 'Loading' tag near the tabs
4 - Apply patch
5 - Load patron details and notice 'Loading' is gone
6 - Add a club and verify tab shows as expected

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
17.05.x
Nick Clemens 7 years ago
committed by Kyle M Hall
parent
commit
3c344c20cf
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

2
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt

@ -568,7 +568,7 @@ function validate1(date) {
[% END %]
</div>
[% IF CAN_user_clubs && ( enrollments || enrollable ) %]
[% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %]
<div id="clubs-tab">
Loading...
</div>

Loading…
Cancel
Save