From: Michael M Slusarz Date: Wed, 11 Aug 2010 17:18:33 +0000 (-0600) Subject: Remove output array after joining. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a9f8f787075442a0c5d1813e6281bedb8afb6398;p=horde.git Remove output array after joining. No need to carry around this (potentially) large data structure after we are done with it. --- 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.