| author | Max Li | 2012-01-23 09:24:34 (EST) |
|---|---|---|
| committer | sfranklin | 2012-01-24 18:00:38 (EST) |
| commit | ce415ed0589dd3fe0620121d59e9007c889b5854 (patch) (side-by-side diff) | |
| tree | 468fac39108c502577d47f83858bf1fcfcf77266 | |
| parent | fccb91549244af06a5f01dbcf254d363a2f20125 (diff) | |
| download | org.eclipse.orion.client-ce415ed0589dd3fe0620121d59e9007c889b5854.zip org.eclipse.orion.client-ce415ed0589dd3fe0620121d59e9007c889b5854.tar.gz org.eclipse.orion.client-ce415ed0589dd3fe0620121d59e9007c889b5854.tar.bz2 | |
Fix Bug 368860 - Unable to invoke actions menu
| -rw-r--r-- | bundles/org.eclipse.orion.client.core/web/orion/commands.js | 4 |
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"); |

