| author | Mark Macdonald | 2012-04-13 17:34:44 (EDT) |
|---|---|---|
| committer | Malgorzata Janczarska | 2012-04-17 08:55:20 (EDT) |
| commit | 3456e3e7f1c40f4c5f5da3d98ac9d70a94d5cf3c (patch) (side-by-side diff) | |
| tree | df0541780ae8b1c2b91b1dd2697a58e55011485a | |
| parent | ebc3c5f83c962878711fe3ab044629ed5b0b4f14 (diff) | |
| download | org.eclipse.orion.client-3456e3e7f1c40f4c5f5da3d98ac9d70a94d5cf3c.zip org.eclipse.orion.client-3456e3e7f1c40f4c5f5da3d98ac9d70a94d5cf3c.tar.gz org.eclipse.orion.client-3456e3e7f1c40f4c5f5da3d98ac9d70a94d5cf3c.tar.bz2 | |
Bug 376791 - Bad directory listing after using 'View on site' on a folder
| -rw-r--r-- | bundles/org.eclipse.orion.client.core/web/orion/siteCommands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/siteCommands.js b/bundles/org.eclipse.orion.client.core/web/orion/siteCommands.js index 21827e2..a2b35e2 100644 --- a/bundles/org.eclipse.orion.client.core/web/orion/siteCommands.js +++ b/bundles/org.eclipse.orion.client.core/web/orion/siteCommands.js @@ -92,7 +92,7 @@ define(['require', 'orion/commands', 'orion/siteUtils'], deferred.then(function(site) { // At this point the site is started var a = document.createElement("a"); - a.href = site.HostingStatus.URL + virtualPath; + a.href = site.HostingStatus.URL + virtualPath + (item.Directory ? "/" : ""); var url = a.href; if (viewOnCallback) { viewOnCallback(url, site); |

