Skip to content

Commit

Permalink
Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed Dec 1, 2011
2 parents aef2d2f + c336936 commit 9810d2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build/build.xml
Expand Up @@ -123,6 +123,12 @@
<mapper type="glob" from="*.js" to="${min.dir}/*.min.js" />
<targetfile/>
</apply>
<apply executable="build/minify-js.sh">
<fileset dir="${dist.dir}/ui/i18n" includes="**.js" />
<srcfile />
<mapper type="glob" from="*.js" to="${min.dir}/i18n/*.min.js" />
<targetfile/>
</apply>
<apply executable="java" parallel="false">
<fileset dir="${dist.dir}/themes/base" includes="*.css" />
<arg line="-jar" />
Expand Down
4 changes: 2 additions & 2 deletions ui/jquery.ui.menu.js
Expand Up @@ -20,7 +20,7 @@ $.widget( "ui.menu", {
defaultElement: "<ul>",
delay: 150,
options: {
items: "ul",
menus: "ul",
position: {
my: "left top",
at: "right top"
Expand Down Expand Up @@ -250,7 +250,7 @@ $.widget( "ui.menu", {

refresh: function() {
// initialize nested menus
var submenus = this.element.find( this.options.items + ":not( .ui-menu )" )
var submenus = this.element.find( this.options.menus + ":not( .ui-menu )" )
.addClass( "ui-menu ui-widget ui-widget-content ui-corner-all" )
.attr( "role", "menu" )
.hide()
Expand Down

0 comments on commit 9810d2d

Please sign in to comment.