[open-ils-commits] [GIT] Evergreen ILS branch master updated. fb9de907e5c114b8c72acb3aa4051d592bfe4361
Evergreen Git
git at git.evergreen-ils.org
Thu Nov 7 09:23:22 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via fb9de907e5c114b8c72acb3aa4051d592bfe4361 (commit)
from ec745cd95af8908cd4c43a08de4003d6138005e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fb9de907e5c114b8c72acb3aa4051d592bfe4361
Author: Jeff Godin <jgodin at tadl.org>
Date: Wed Nov 6 12:07:07 2013 -0500
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 <jgodin at tadl.org>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/templates/opac/parts/base.tt2 b/Open-ILS/src/templates/opac/parts/base.tt2
index 95b3c31..ae44122 100644
--- a/Open-ILS/src/templates/opac/parts/base.tt2
+++ b/Open-ILS/src/templates/opac/parts/base.tt2
@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
[% IF ctx.refresh %]
<meta http-equiv="refresh" content="[% ctx.refresh %]">
- [% ELSIF ctx.authtime %]
+ [% ELSIF ctx.authtime AND !ctx.is_staff %]
<meta http-equiv="refresh" content="[% ctx.authtime %]; url=[% ctx.logout_page %]">
[% END %]
<meta name = "viewport" content = "initial-scale = 1.0">
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/parts/base.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list