You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/08/24 09:56:52 UTC

svn commit: r1160998 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Author: lofwyr
Date: Wed Aug 24 07:56:51 2011
New Revision: 1160998

URL: http://svn.apache.org/viewvc?rev=1160998&view=rev
Log:
TOBAGO-377: Tree
 - JS cleanup

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1160998&r1=1160997&r2=1160998&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Wed Aug 24 07:56:51 2011
@@ -130,8 +130,6 @@ var Tobago = {
     return id;
   },
 
-  treeNodes: {},
-
   reloadTimer: {},
 
   jsObjects: new Array(),
@@ -409,15 +407,6 @@ var Tobago = {
   destroyObjects: function() {
     this.removeEventListeners();
 
-    //      delete this.treeNodes[treeNodeId];
-    for (var treeNodeId in this.treeNodes) {
-      try {
-        this.destroyObject(this.treeNodes[treeNodeId]);
-      } catch (ex) {
-        // ignore
-      }
-    }
-
     for (var i = 0; i < this.jsObjects.length; i++) {
       try {
         this.destroyObject(this.jsObjects[i]);