[TYPO3-core] RFC: Bug 5048: JSMENU produces error if using baseurls

Michael Stucki michael at typo3.org
Fri Jul 6 18:55:41 CEST 2007


Tested using the TS code on the bugtracker page. Works fine in Firefox
and Konqueror at least.

If you also tested this in IE, you can go ahead then.

- michael

Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> JSMENUs could be used with the "noLink" property. If done so and
> config.baseURL is defined, the expected missing link will be set to the
> defined baseURL. Thus, the noLink property has no effect at all.
> Furthermore there is an error in t3lib/jsfunc.menu.js. To determine if
> an array has elements, "size" is the wrong property.
> 
> Solution:
> Only use the baseUrlWrap if the item should be linked at all.
> Use "length" instead of "size" for JavaScript arrays.
> 
> Comments:
> Original fix by Jens Köster.
> I did some other small changes to jsfunc.menu.js.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5048
> 
> Branches: TYPO3_4-0 & Trunk
> 
> 
> olly

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list