Skip to content

Commit

Permalink
Fix Bug 368860 - Unable to invoke actions menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Li committed Jan 23, 2012
1 parent dd5c754 commit af32056
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bundles/org.eclipse.orion.client.core/web/orion/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,12 @@ define(['require', 'dojo', 'dijit', 'orion/util', 'dijit/Menu', 'dijit/form/Drop
var menuCommand = children[0].eclipseCommand;
if (needMenu) {
menuButton = new dijit.form.DropDownButton({
label: group.title === "*" ? "" : group.title, // TODO undocumented hack
label: group.title === "*" ? "Actions" : group.title, // TODO undocumented hack
showLabel: group.title !== "*",
dropDown: newMenu
});
dojo.addClass(menuButton.domNode, "commandLink");
dojo.destroy(menuButton.valueNode); // the valueNode gets picked up by screen readers; since it's not used, we can get rid of it
var overclass = null;
if (group.title === "*") {
dojo.addClass(menuButton.domNode, "textless");
Expand Down

0 comments on commit af32056

Please sign in to comment.