[TYPO3] [TYPO3 4.1] can't collapse JS tree menu

Michael Ludwig michaellud at googlemail.com
Tue Mar 27 19:36:54 CEST 2007


Hi! ;-)

Just joined the english list so this is my first posting here... ;-)
First of all sorry for my very bad english, I don't have use it in my
every-day-life so please forgive me my mistakes...

I'm using TYPO3 as a multisite installation. I'm using Firefox 2.0.0.3
as my favourite browser.
I patched the 4.1 sources to be able to use the RTE again so that's okay so far.

The problem I'm experiencing right now is that I absolutely can't
collapse any menu items in the new js tree menu.
It worked, till some days ago... I can't exactly name the day it
stopped working but I think it may have something to do with the FF
2.0.0.2 / 2.0.0.3 update. I don't know...

Expanding (opening) menu items is nice, but the list grows and grows
and so I have to scroll (outch) nowadays a lot... :-(   So being able
to collapse would somehow really help me.

As I till now didn't get a useful answer on the german TYPO3 list
where I posted my original questions some time ago I thought I'll just
try it here - maybe someone knows something about it on this list...
;-)



Further information:

The error-log I can see in FF from the error-console is the following:

==========================
uncaught exception: [Exception... "Component returned
failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)
[nsIDOMHTMLDivElement.removeChild]"  nsresult: "0x80004003
(NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
http://www.domain.de/typo3/tree.js :: anonymous :: line 51"  data: no]
==========================



The corresponding line in the original tree.js file (line 51) is as
follows (as original I think):

==== header ===============
*  TYPO3 SVN ID: $Id: tree.js 2150 2007-02-24 19:35:18Z baschny $
==========================

==== line 51 ===============
obj.parentNode.removeChild(ul); // no remove() directly because of IE 5.5
==========================


wishes,
Michael


More information about the TYPO3-english mailing list