From 3195963693c5ba98c3251a744162ee6601c75ca4 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 28 Feb 2017 20:23:37 +0000 Subject: [PATCH] Bug 18172 - Disabled Overdrive shows error on logged in user page To test: Have overdrive disabled (default state) log into the OPAC (I did it with plack) note the error just below the tabs on the page. Note that the overdrive JS is being fetched/included Apply this patch Restart plack/memcached refresh the page, note that the error is gone. Also note that the JS for Overdrive is no longer being fetched/included. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index c862a14..dc1c430 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -139,9 +139,10 @@ Using this account is not recommended because some parts of Koha will not functi
  • OverDrive Account
  • [% END %] - + [% IF ( OverDriveCirculation ) %]
    + [% END %]
    [% IF ( issues_count ) %]
    @@ -896,6 +897,7 @@ Using this account is not recommended because some parts of Koha will not functi }); //]]> + [% IF ( OverDriveCirculation ) %] + [% END %] [% END %] -- 2.1.4