Avoid mixed-content warnings due to HTTP link for Google Chrome Frame
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 18:55:31 +0000 (18:55 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 18:55:31 +0000 (18:55 +0000)
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
Open-ILS/web/opac/skin/default/xml/home/index_body.xml

index 41068c2..3325a26 100644 (file)
@@ -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,
index d2f031d..9a37c8b 100644 (file)
@@ -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,