[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. c8fba5e8f284b654b27c6cb2cc82aba574861d6e

Evergreen Git git at git.evergreen-ils.org
Wed Jun 10 21:25:13 EDT 2015


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_8 has been updated
       via  c8fba5e8f284b654b27c6cb2cc82aba574861d6e (commit)
      from  2a256aed64ba2310926361f92e67b880dd6cf956 (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 c8fba5e8f284b654b27c6cb2cc82aba574861d6e
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Thu May 7 16:02:00 2015 -0400

    LP#1452883: prevent staff client warnings w/ Google Analytics
    
    In particular, the Security Warning that goes "You have requested an encrypted
    page that contains some unencrypted information..."
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Josh Stompro <stomproj at larl.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/parts/goog_analytics.tt2 b/Open-ILS/src/templates/opac/parts/goog_analytics.tt2
index ce1e1ae..5070537 100644
--- a/Open-ILS/src/templates/opac/parts/goog_analytics.tt2
+++ b/Open-ILS/src/templates/opac/parts/goog_analytics.tt2
@@ -10,7 +10,7 @@
     (function() {
         var ga = document.createElement('script'); 
         ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        ga.src = ('oils:' == document.location.protocol || 'https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
         var s = document.getElementsByTagName('script')[0]; 
         s.parentNode.insertBefore(ga, s);
     })();

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/parts/goog_analytics.tt2    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list