aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Li2012-02-10 06:17:45 (EST)
committerMalgorzata Janczarska2012-02-10 06:17:45 (EST)
commit3c4e4da1fd439806f90ccb2f95cb53f02236d0fd (patch)
treef395fc1b0d43e4c9739211d7f26294cddfdba15f
parent281b16de3c817f67c9309d27a46077b26f77400e (diff)
downloadorg.eclipse.orion.client-3c4e4da1fd439806f90ccb2f95cb53f02236d0fd.zip
org.eclipse.orion.client-3c4e4da1fd439806f90ccb2f95cb53f02236d0fd.tar.gz
org.eclipse.orion.client-3c4e4da1fd439806f90ccb2f95cb53f02236d0fd.tar.bz2
Bug 368870 - Extra Button in Navigation Menu
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js b/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js
index 1e17b60..ad053ec 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/globalCommands.js
@@ -82,6 +82,8 @@ define(['require', 'dojo', 'dijit', 'orion/commonHTMLFragments', 'orion/commands
});
dojo.addClass(menuButton.domNode, "commandImage");
dojo.place(menuButton.domNode, userMenuPlaceholder, "only");
+ if(menuButton.valueNode)
+ dojo.destroy(menuButton.valueNode);
}