17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 5911 Views |
-
Re: Tree control tweaks

23 June 2007 at 1:41am
> So, Elijah, is this committed to SVN now ya mean?
Yes.
Here's my commit message to the gsoc branch of jsparty:
------------------------------------------------------------------------
r37261 | elofgren | 2007-06-21 21:19:00 -0500 (Thu, 21 Jun 2007) | 8 linesMerge Site Tree Tweaks from Steve (excluding minor formatting changes). Changes:
1. Optimizations: a) Don't process a node if already done. b) Don't "Find last div before first ul"
2. New treeCloseAll() and treeOpenAll() functions.
3. Code documentation improvements.
SKIPPED: Merging code for: "Check for head/meta name='render-spans'. If present, don't call (slow) initTrees". Reason: initTree() no longer exists and I can't find a function that matches it
close enough to merge this code.
More info: http://www.silverstripe.com/contributions/flat/1611------------------------------------------------------------------------
-
Re: Tree control tweaks

27 June 2007 at 12:25pm
Looks good, merged into main branch. Thanks to both of you.
-
Re: Tree control tweaks

12 July 2007 at 1:42am
Hi guys,
Is the GSoC branch available anywhere? I'd really like to test out the modified tree.js, as I'm having some performance issues with largeish structures, particularly in IE6.
Thanks!
-
Re: Tree control tweaks

13 July 2007 at 8:49am
> Is the GSoC branch available anywhere? I'd really like to test out the modified tree.js, as I'm having some performance issues with largeish structures, particularly in IE6.
Hi bbodien,
The GSoC branch is currently not publicly available (coming soon hopefully).
Here are two different versions of Steve's Tree control tweaks patches (in case you'd like to see the changes):
Steves-Site-Tree-Tweaks-fixed-whitespace.diff
Steves-Site-Tree-Tweaks-in-universal-format.diffHere is the original tree control file: tree-original.js
And here is the version of it with the above changes applied: tree-patched.jsHowever, the tree.js used in the gsoc branch is very different from the one available at http://www.silverstripe.com/tree-control/ so only these changes were applied: Site-Tree-Tweaks-gsoc-r37261.patch
I'm guessing that the current gsoc version might be too different to use, but here it is in case it is useful: tree-gsoc-r37735.jsHope this helps,
Elijah Lofgren
-
Re: Tree control tweaks

13 July 2007 at 9:27pm
Elijah,
Many thanks for the patched versions. I'll try them out as soon as I can. Best of luck with the GSoC project, I've just been reading about it with interest on the silverstripe rss feed.
Ben
| 5911 Views | ||
| Go to Top |




