[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 53b95bb34f395848ef7da78e6b6497eb269bcd63

Evergreen Git git at git.evergreen-ils.org
Thu Nov 7 09:24:58 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_4 has been updated
       via  53b95bb34f395848ef7da78e6b6497eb269bcd63 (commit)
      from  d68a509d7c7de473da9f24b7f992979ee5d320d2 (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 53b95bb34f395848ef7da78e6b6497eb269bcd63
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 f1a5ee0..14b9578 100644
--- a/Open-ILS/src/templates/opac/parts/base.tt2
+++ b/Open-ILS/src/templates/opac/parts/base.tt2
@@ -4,7 +4,7 @@
         <meta 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