setting the noGCF cookie to expire after a year, instead of at the end of the browser...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jun 2010 15:28:40 +0000 (15:28 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Jun 2010 15:28:40 +0000 (15:28 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16754 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 e0880ab..38ae525 100644 (file)
@@ -32,7 +32,7 @@
             <script>dojo.require('dojo.cookie')</script>;
             <div><span>&common.googlechromeframe.why;</span></div>
             <button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});'>&common.googlechromeframe.install;</button>
-            <button onclick='dojo.cookie("noGCF", "true", {path:"/"}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button>
+            <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>
index 4b72a57..0b60ce8 100644 (file)
@@ -38,7 +38,7 @@
             <script>dojo.require('dojo.cookie')</script>;
             <div><span>&common.googlechromeframe.why;</span></div>
             <button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});'>&common.googlechromeframe.install;</button>
-            <button onclick='dojo.cookie("noGCF", "true", {path:"/"}); hideMe($("gcfPrompt"));'>&common.googlechromeframe.dontask;</button>
+            <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>