From fb9de907e5c114b8c72acb3aa4051d592bfe4361 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 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 %] -- 2.43.2