[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0848d4c2558c0747bc9aedee60e7c20bdaf08832

Evergreen Git git at git.evergreen-ils.org
Wed Jun 10 21:25:12 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, master has been updated
       via  0848d4c2558c0747bc9aedee60e7c20bdaf08832 (commit)
      from  9687a8b2fe6c4be32b60340fec33a8328cf32f2f (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 0848d4c2558c0747bc9aedee60e7c20bdaf08832
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