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 2014/03/06 18:56:51 UTC

git commit: OOZIE-1223 too many extjs cookies can cause the web UI to stop responding (puru via rkanter)

Repository: oozie
Updated Branches:
  refs/heads/master 2545262f0 -> 14d040dc3


OOZIE-1223 too many extjs cookies can cause the web UI to stop responding (puru via rkanter)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/14d040dc
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/14d040dc
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/14d040dc

Branch: refs/heads/master
Commit: 14d040dc3d8e81ace80daa0222a4945870e4ee0a
Parents: 2545262
Author: Robert Kanter <rk...@cloudera.com>
Authored: Thu Mar 6 09:52:38 2014 -0800
Committer: Robert Kanter <rk...@cloudera.com>
Committed: Thu Mar 6 09:52:38 2014 -0800

----------------------------------------------------------------------
 release-log.txt                         |  1 +
 webapp/src/main/webapp/oozie-console.js | 13 +++++++++++++
 2 files changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/14d040dc/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 51d8ada..b0527c9 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.1.0 release (trunk - unreleased)
 
+OOZIE-1223 too many extjs cookies can cause the web UI to stop responding (puru via rkanter)
 OOZIE-1722 When an ApplicationMaster restarts, it restarts the launcher job (rkanter)
 OOZIE-1727 Upgrade hadoop-minikdc (puru via rkanter)
 OOZIE-1711 TestLiteWorkflowAppParser fails against Hadoop 2 (rkanter)

http://git-wip-us.apache.org/repos/asf/oozie/blob/14d040dc/webapp/src/main/webapp/oozie-console.js
----------------------------------------------------------------------
diff --git a/webapp/src/main/webapp/oozie-console.js b/webapp/src/main/webapp/oozie-console.js
index f021ffe..0b6cedf 100644
--- a/webapp/src/main/webapp/oozie-console.js
+++ b/webapp/src/main/webapp/oozie-console.js
@@ -30,6 +30,19 @@ $(document).ready(function() {
     }
 });
 
+Ext.override(Ext.Component, {
+    saveState : function() {
+        if (Ext.state.Manager && this.stateful !== false) {
+            var state = this.getState();
+            if (this.fireEvent('beforestatesave', this, state) !== false) {
+                Ext.state.Manager.set(this.stateId || this.id, state);
+                this.fireEvent('statesave', this, state);
+            }
+        }
+    },
+    stateful : false
+});
+
 function getLogs(url, textArea, shouldParseResponse, errorMsg) {
     textArea.getEl().dom.value = '';