From a9f8f787075442a0c5d1813e6281bedb8afb6398 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 11 Aug 2010 11:18:33 -0600 Subject: [PATCH] Remove output array after joining. No need to carry around this (potentially) large data structure after we are done with it. --- horde/js/hordetree.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/horde/js/hordetree.js b/horde/js/hordetree.js index 141125a6c..54a641cae 100644 --- a/horde/js/hordetree.js +++ b/horde/js/hordetree.js @@ -41,6 +41,8 @@ var Horde_Tree = Class.create({ this.rootNodes.each(this.buildTree.bind(this)); $(this.opts.target).update(this.output.join('')); + delete this.output; + this._correctWidthForScrollbar(); // If using alternating row shading, work out correct shade. -- 2.11.0