You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by rk...@apache.org on 2013/02/21 23:16:51 UTC

svn commit: r1448833 - in /oozie/branches/branch-3.3: release-log.txt webapp/src/main/webapp/oozie-console.js

Author: rkanter
Date: Thu Feb 21 22:16:50 2013
New Revision: 1448833

URL: http://svn.apache.org/r1448833
Log:
OOZIE-1219 The timezone cookie should never expire (rkanter)

Modified:
    oozie/branches/branch-3.3/release-log.txt
    oozie/branches/branch-3.3/webapp/src/main/webapp/oozie-console.js

Modified: oozie/branches/branch-3.3/release-log.txt
URL: http://svn.apache.org/viewvc/oozie/branches/branch-3.3/release-log.txt?rev=1448833&r1=1448832&r2=1448833&view=diff
==============================================================================
--- oozie/branches/branch-3.3/release-log.txt (original)
+++ oozie/branches/branch-3.3/release-log.txt Thu Feb 21 22:16:50 2013
@@ -12,6 +12,7 @@ OOZIE-944 Implement Workflow Generator U
 
 -- Oozie 3.3.2 (unreleased)
 
+OOZIE-1219 The timezone cookie should never expire (rkanter)
 OOZIE-1220 Make the login example cookie expire (rkanter)
 OOZIE-1227 In a coordinator, specifying the <app-path> without a namenode causes it to fail (rkanter)
 OOZIE-1226 Workflow lib path not found in classpath for a subworkflow (rkanter)

Modified: oozie/branches/branch-3.3/webapp/src/main/webapp/oozie-console.js
URL: http://svn.apache.org/viewvc/oozie/branches/branch-3.3/webapp/src/main/webapp/oozie-console.js?rev=1448833&r1=1448832&r2=1448833&view=diff
==============================================================================
--- oozie/branches/branch-3.3/webapp/src/main/webapp/oozie-console.js (original)
+++ oozie/branches/branch-3.3/webapp/src/main/webapp/oozie-console.js Thu Feb 21 22:16:50 2013
@@ -2112,7 +2112,9 @@ function initConsole() {
             listeners:
             { select: { fn:function(combo, value)
                 {
-                    Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
+                    Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
+                        expires: new Date(new Date().getTime()+315569259747) // about 10 years from now!
+                    }));
                     Ext.state.Manager.set("TimezoneId",this.value);
                 }
             }}