projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e954d82
)
Remove output array after joining.
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 11 Aug 2010 17:18:33 +0000
(11:18 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 11 Aug 2010 21:05:23 +0000
(15:05 -0600)
No need to carry around this (potentially) large data structure after we
are done with it.
horde/js/hordetree.js
patch
|
blob
|
history
diff --git
a/horde/js/hordetree.js
b/horde/js/hordetree.js
index
141125a
..
54a641c
100644
(file)
--- 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.