tracker issue : CF-3793678

select a category, or use search below
(searches all categories and all time range)
Title:

cfmenu no longer works when nested in cflayout type="border"

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

Reporter/Name(from Bugbase): Jim Ward / Jim Ward (Jim Ward)

Created: 07/23/2014

Components: AJAX

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description:If you include cfmenu within a cflayoutarea you receive a javascript error and nothing is rendered.

Steps to Reproduce: Use the following code snippet to reproduce

<cflayout type="border" >
	<cflayoutarea position="top" >
		
	<cfmenu type="horizontal" name="mainMenu">
		<cfmenuitem href="index.cfm" name="thisName" display="Test 1"/>
		<cfmenuitem href="index.cfm" name="thisName1" display="Test 2"/>
	</cfmenu>

</cflayoutarea>
<cflayoutarea position="center" >
	Center layout area
</cflayoutarea>
<cflayoutarea position="bottom" >
	Bottom
</cflayoutarea>
</cflayout>

Actual Result:  TypeError: s.classList is undefined

Expected Result:  Rendered menu

Any Workarounds:  None in Coldfusion 11

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3793678

External Customer Info:
External Company:  
External Customer Name: Yodeler
External Customer Email:  
External Test Config: My Hardware and Environment details:  Windows 2008 server R2 64 bit with IIS 7.5.

Attachments:

Comments:

I tested this using CF 11,0,0,289822 Enterprise (Trial) on Windows 8 64bit and the above exact code (w/nothing else) worked without any errors. I viewed it with Firefox 31 & Chrome 36.x. While viewing the results using CF10 & CF11 using the same browser, I noticed that the fonts, sizes, section heights & borders were all different even though the CFML was exactly the same.
Comment by External U.
11531 | July 23, 2014 04:34:53 PM GMT
It's working fine now. My guess is that an older version of my page was being cached somewhere. Sorry for the bother. Yes, but all the fonts and sizes are different.
Comment by External U.
11532 | July 24, 2014 06:44:02 AM GMT