summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAnton McConville2012-02-16 22:25:09 (EST)
committer sfranklin2012-02-21 12:36:19 (EST)
commit7206c83fb1d7fdc9d109044c7ab5bccf2484256b (patch)
tree83fa83e36e34bbe273cb4ece5cfcce9656609f71
parente157009460a4622b3c3996a49b25870f67c48d52 (diff)
downloadorg.eclipse.orion.client-7206c83fb1d7fdc9d109044c7ab5bccf2484256b.zip
org.eclipse.orion.client-7206c83fb1d7fdc9d109044c7ab5bccf2484256b.tar.gz
org.eclipse.orion.client-7206c83fb1d7fdc9d109044c7ab5bccf2484256b.tar.bz2
Addresses 371761
https://bugs.eclipse.org/bugs/show_bug.cgi?id=371761
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/widgets/PluginEntry.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/widgets/PluginEntry.js b/bundles/org.eclipse.orion.client.core/web/orion/widgets/PluginEntry.js
index 0ed857f..c78ab26 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/widgets/PluginEntry.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/widgets/PluginEntry.js
@@ -65,6 +65,11 @@ define(['require', 'dojo', 'dijit', 'orion/util', 'orion/commands', 'dijit/Toolt
last = wordToUpper( last );
last = last.replace( 'plugin', '' );
last = last.replace( 'Plugin', '' );
+
+ if( last === '' ){
+ last = location;
+ }
+
return last;
},