[open-ils-commits] r16754 - in trunk/Open-ILS/web/opac/skin/default/xml: . home (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jun 18 11:28:43 EDT 2010


Author: miker
Date: 2010-06-18 11:28:40 -0400 (Fri, 18 Jun 2010)
New Revision: 16754

Modified:
   trunk/Open-ILS/web/opac/skin/default/xml/body.xml
   trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml
Log:
setting the noGCF cookie to expire after a year, instead of at the end of the browser session

Modified: trunk/Open-ILS/web/opac/skin/default/xml/body.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/body.xml	2010-06-18 15:13:41 UTC (rev 16753)
+++ trunk/Open-ILS/web/opac/skin/default/xml/body.xml	2010-06-18 15:28:40 UTC (rev 16754)
@@ -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>

Modified: trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml	2010-06-18 15:13:41 UTC (rev 16753)
+++ trunk/Open-ILS/web/opac/skin/default/xml/home/index_body.xml	2010-06-18 15:28:40 UTC (rev 16754)
@@ -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>



More information about the open-ils-commits mailing list