[TYPO3-core] RFC #11482: Pagetree: Expand/collaps DB-Mounts buggy
Jeff Segars
jsegars at alumni.rice.edu
Wed Aug 12 20:35:19 CEST 2009
Andreas Wolf wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11482
>
>
> Branches:
> trunk
>
>
> Problem:
>
> User X has two DB-mounts
>
> DBM 1
> DBM 2
>
> If he/she expands DBM 1 in the pagetree DBM 2 disappears completely. You
> can only get it back by reloading the tree.
>
> The problem comes from an incorrect wrapping: Tree elements are wrapped
> in a div, which is not closed for collapsed tree roots. This screws up
> the dom tree, which results in at least Firefox replacing too much when
> expanding a tree.
>
>
> Solution:
>
> Fix the wrapping of elements.
>
>
> Notes:
>
> Previously, the tree elements including the subtree were wrapped in the
> div. The patch changes this to only wrap the element itself. The subtree
> is still addressable via its ul element. As Steffen (who wrote the
> original patch for introducing the div) intended it to be for styling,
> in my opinion it makes no sense to also style the whole subtree.
>
>
> Regards,
> Andreas
That's an annoying little bug! +1 on testing for your solution. Code
changes look fine but I'd like to hear from Steffen that changing the
wrapping is in fact OK.
Is this present in 4.2 also or just trunk?
Thanks,
Jeff
More information about the TYPO3-team-core
mailing list