From 3418a1609eaa2dd9762ba56eb04a98c6d9acbf94 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 c7175b69ee..ae3c7889cb 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.43.2