[TYPO3-core] RFC #11482: Pagetree: Expand/collaps DB-Mounts buggy

Andreas Wolf typo3ml at andreaswolf.info
Sun Aug 2 10:10:15 CEST 2009


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkp1SecACgkQHWtXp155bP+s1ACePH5UDc8yKTV2kiJkdnhI6NM0
ttQAn0ZmkWwe0jDJ/p3Lf545UlkPfrOr
=Z6Oo
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0011482_v1.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090802/e706a16a/attachment.txt 


More information about the TYPO3-team-core mailing list