aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Li2012-01-23 09:24:34 (EST)
committersfranklin2012-01-24 18:00:38 (EST)
commit660d7de1f8c0f75a5b8fe43ee6955ecc42c9395d (patch)
tree468fac39108c502577d47f83858bf1fcfcf77266
parent9e1ef91952d7802285bb9b2d3b70856680d0baac (diff)
downloadorg.eclipse.orion.client-660d7de1f8c0f75a5b8fe43ee6955ecc42c9395d.zip
org.eclipse.orion.client-660d7de1f8c0f75a5b8fe43ee6955ecc42c9395d.tar.gz
org.eclipse.orion.client-660d7de1f8c0f75a5b8fe43ee6955ecc42c9395d.tar.bz2
Fix Bug 368860 - Unable to invoke actions menu
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/commands.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/commands.js b/bundles/org.eclipse.orion.client.core/web/orion/commands.js
index f0fb9c3..2946357 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/commands.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/commands.js
@@ -648,10 +648,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");