Skip to main content

Search and Top Navigation

#8061 closed bug (notabug)

Opened January 26, 2012 10:19AM UTC

Closed January 26, 2012 01:05PM UTC

Error with menubar without sub-menus

Reported by: carlos.garces Owned by:
Priority: minor Milestone: 1.9.0
Component: [meta] ui.dev Version: git (not yet released)
Keywords: Cc:
Blocked by: Blocking:
Description

Menus without submenus not works as expected with the code from 1.9 m6, I also try to update the code from https://github.com/jquery/jquery-ui/tree/menubar/ui but obtain the same error.

<ul id="ulMenu">

<li><a href="http://google.com">Google</a></li>

<li><a href="http://yahoo.com">Yahoo</a></li>

<li><a href="http://msn.com">MSN</a>

<ul>

<li><a href="/htp://sub1.example.com">sub-level</a></li>

<li><a href="http://sub2.example.com">sub-level</a></li>

</ul>

</li>

<li><a href="http://ask.com">Ask</a></li>

<li><a href="http://aol.com">AOL</a></li>

</ul>

.Expected behavior. Click on Google goes to Google.com

.Obtained result.

Javascript error raised:

targetElem is undefined

/jqueryui19/jquery-ui.js

Line 11556

if ( targetElem.nodeType === 9 ) {

Attachments (0)
Change History (1)

Changed January 26, 2012 01:05PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

Please use the forums or planning wiki for plugins that are not in stable releases.