summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAnton McConville2012-02-16 22:25:09 (EST)
committer sfranklin2012-02-21 12:36:19 (EST)
commitb83a1025199bb06481d140da0e5ed0fab108375b (patch)
tree83fa83e36e34bbe273cb4ece5cfcce9656609f71
parentd8d8bbc650d9354ebc18bcd5472190c59af3e666 (diff)
downloadorg.eclipse.orion.client-b83a1025199bb06481d140da0e5ed0fab108375b.zip
org.eclipse.orion.client-b83a1025199bb06481d140da0e5ed0fab108375b.tar.gz
org.eclipse.orion.client-b83a1025199bb06481d140da0e5ed0fab108375b.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;
},