From 118a73288bef413ad92fb3641d5d7d4053b45691 Mon Sep 17 00:00:00 2001 From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Thu, 17 Feb 2011 18:55:31 +0000 Subject: [PATCH] Avoid mixed-content warnings due to HTTP link for Google Chrome Frame We're hardcoding this to HTTPS for now to avoid the mixed-content warnings that occur when content location is https:// and the linked script is at http:// but a config-aware patch probably wouldn't be a bad idea. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19466 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/xml/body.xml | 2 +- Open-ILS/web/opac/skin/default/xml/home/index_body.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/opac/skin/default/xml/body.xml b/Open-ILS/web/opac/skin/default/xml/body.xml index 41068c2360..3325a26b80 100644 --- a/Open-ILS/web/opac/skin/default/xml/body.xml +++ b/Open-ILS/web/opac/skin/default/xml/body.xml @@ -35,7 +35,7 @@ <button onclick='dojo.cookie("noGCF", "true", {path:"/", expires: 365}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button> </div> </center> - <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> + <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> <script><![CDATA[ CFInstall.check({ preventPrompt: true, diff --git a/Open-ILS/web/opac/skin/default/xml/home/index_body.xml b/Open-ILS/web/opac/skin/default/xml/home/index_body.xml index d2f031dda0..9a37c8ba7a 100644 --- a/Open-ILS/web/opac/skin/default/xml/home/index_body.xml +++ b/Open-ILS/web/opac/skin/default/xml/home/index_body.xml @@ -30,7 +30,7 @@ <button onclick='dojo.cookie("noGCF", "true", {path:"/", expires: 365}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button> </div> </center> - <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> + <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> <script><![CDATA[ CFInstall.check({ preventPrompt: true, -- 2.11.0