From 53b95bb34f395848ef7da78e6b6497eb269bcd63 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Wed, 6 Nov 2013 12:07:07 -0500 Subject: [PATCH] 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 Signed-off-by: Jason Stephenson --- Open-ILS/src/templates/opac/parts/base.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/base.tt2 b/Open-ILS/src/templates/opac/parts/base.tt2 index f1a5ee003d..14b95780f0 100644 --- a/Open-ILS/src/templates/opac/parts/base.tt2 +++ b/Open-ILS/src/templates/opac/parts/base.tt2 @@ -4,7 +4,7 @@ [% IF ctx.refresh %] - [% ELSIF ctx.authtime %] + [% ELSIF ctx.authtime AND !ctx.is_staff %] [% END %] -- 2.11.0