From: Jeff Godin Date: Wed, 6 Nov 2013 17:07:07 +0000 (-0500) Subject: Don't auto-logout TPAC in staff client X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fjeff%2Flp1036318_opac_timeout_in_staff_client;p=working%2FEvergreen.git Don't auto-logout TPAC in staff client Wrap the meta refresh in TPAC within a check for ctx.is_staff, so that idle TPAC tabs will not log out when running within the staff client. This is intended to resolve the primary cause of symptoms mentioned in bug 1036318 "OPAC timeout within the client" Signed-off-by: Jeff Godin --- diff --git a/Open-ILS/src/templates/opac/parts/base.tt2 b/Open-ILS/src/templates/opac/parts/base.tt2 index 95b3c31a14..ae44122470 100644 --- a/Open-ILS/src/templates/opac/parts/base.tt2 +++ b/Open-ILS/src/templates/opac/parts/base.tt2 @@ -5,7 +5,7 @@ [% IF ctx.refresh %] - [% ELSIF ctx.authtime %] + [% ELSIF ctx.authtime AND !ctx.is_staff %] [% END %]