Skip to content
Permalink
Browse files

Menu: Add some testing for ensure that id-attributes aren't overwritten.

  • Loading branch information...
jzaefferer committed Feb 23, 2011
1 parent 9626484 commit d7682daaa8625c2134386c501e9e5ffaab004984
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/visual/menu/flyoutmenu.html
@@ -54,7 +54,7 @@
},
*/
select: function(event, ui) {
$("#log").append("<div>Selected " + ui.item.children("a").text() + "</div>");
$("#log").append("<div>Selected " + ui.item.children("a").text() + "(" + ui.item.children("a").attr("id") + ")</div>");
button.focus();
}
}).hide();
@@ -79,10 +79,10 @@

<ul id="menu">
<li>
<a href="#">Amsterdam</a>
<a id="a1" href="#">Amsterdam</a>
<ul>
<li><a href="#">Aberdeen</a></li>
<li><a href="#">Ada</a></li>
<li><a id="b1" href="#">Aberdeen</a></li>
<li><a id="b2" href="#">Ada</a></li>
<li>
<a href="#">Adamsville</a>
<ul>
@@ -104,8 +104,8 @@
<li><a href="#">Amesville</a></li>
</ul>
</li>
<li><a href="#">Anaheim</a></li>
<li><a href="#">Cologne</a></li>
<li><a id="a2" href="#">Anaheim</a></li>
<li><a id="a3" href="#">Cologne</a></li>
<li><a href="#">Frankfurt</a></li>
<li>
<a href="#">Magdeburg</a>

0 comments on commit d7682da

Please sign in to comment.
You can’t perform that action at this time.