Pagetree: Expand/collaps DB-Mounts buggy
User X has to DB-mounts
If he/she expands DBM 1 in the pagetree DBM 2 disappears completely. You can only get it back by reloading the tree.
(issue imported from #M11482)
#1 Updated by Nabil Saleh over 10 years ago
I tried to reproduce this error:
1st. created a testuser with a group that may see/edit all pages
2nd. added 2 small trees as dbmounts
3rd. su to the user in Firefox expand/reduce works fine on any mount
4th. logged in (not su) in IE8 => no problem either
am i missing something?
#3 Updated by Andreas Wolf over 10 years ago
I attached a patch for the issue. The problem was an unclosed div element with collapsed trees. This made at least Firefox get totally confused because of the messed up DOM structure.
The solution is quite simple: Always close the div element - which is used for styling tree elements - after the elements text. A subtree, if available, is now outside the div, directly underneath the ul - and besides the div.