[TYPO3-core] RFC: de-highlighting page in page tree in non-life workspaces

Thorsten Kahler thorsten.kahler at dkd.de
Sat Feb 24 14:33:32 CET 2007


Hi Ernesto,

I have exactly the same diff on my disk and was just waiting for some
hints from Jens Hoffmann for the necessary CSS changes :-)

+1 because I came to the same conclusion. You may as well use the
prototype version suggested by Olly, but I'm not familiar with that
library, too.

Regards
Thorsten

Ernesto Baschny [cron IT] schrieb:
> The fix of http://bugs.typo3.org/view.php?id=2677 that was added on
> 16.2. added some code to set multiple CSS classes to the highlighted
> page in the page tree in non-life workspaces. The highlighting works,
> but the previous page is not de-highlighted when you select a new one.
> You end up with every page you clicked on highlighted. I wonder if
> anyone that has +1 that change has tested it???
> 
> Solution:
> 
> The JS-code which removes the classes from the previous page is wrong,
> as removeClassName seem to expect a single class and it is passed the
> space separated list of classes. So we just need to iterate through the
> list of classes and remove each one of it. Attached patch should do that.
> 
> Branches: Trunk only
> 


More information about the TYPO3-team-core mailing list