[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 3418a1609eaa2dd9762ba56eb04a98c6d9acbf94
Evergreen Git
git at git.evergreen-ils.org
Thu Nov 7 09:24:11 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, rel_2_3 has been updated
via 3418a1609eaa2dd9762ba56eb04a98c6d9acbf94 (commit)
from 0cac7654d4cf5174fdfe31aab8cf1542a9c44825 (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 3418a1609eaa2dd9762ba56eb04a98c6d9acbf94
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 c7175b6..ae3c788 100644
--- a/Open-ILS/src/templates/opac/parts/base.tt2
+++ b/Open-ILS/src/templates/opac/parts/base.tt2
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
[% 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 %]
<link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto.css" />
-----------------------------------------------------------------------
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