Defect 32489: Created file in Web IDE is not opened
diff --git a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
index 53850b5..4504702 100644
--- a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
+++ b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
@@ -670,20 +670,20 @@
 	/**
 	 * @description Creates a URL ref from the give location and options to be opened by the browser
 	 * @function
-	 * @param {String} loc The location string to create the HREF to
+	 * @param {Object} item The file metadata object which has at least a <code>Location</code> property
 	 * @param {Object} options The map of options
 	 * @returns {String} The computed URL to navigate to
 	 * @since 9.0
 	 */
-	computeNavigationHref: function(loc, options) {
-		var openWithCommand = mExtensionCommands.getOpenWithCommand(this.commandRegistry, loc);
+	computeNavigationHref: function(item, options) {
+		var openWithCommand = mExtensionCommands.getOpenWithCommand(this.commandRegistry, item);
 		if (openWithCommand) {
-			return openWithCommand.hrefCallback({items: {Location: loc, params: options}});
+			return openWithCommand.hrefCallback({items: objects.mixin({}, item, {params: options})});
 		}
 		if(options) {
-			return uriTemplate.expand({resource: loc, params: options});
+			return uriTemplate.expand({resource: item.Location, params: options});
 		}
-		return uriTemplate.expand({resource: loc});
+		return uriTemplate.expand({resource: item.Location});
 	},
 
 	/**
@@ -705,7 +705,7 @@
 	 * @since 9.0
 	 */
 	openEditor: function(loc, options) {
-		var href = this.computeNavigationHref(loc, {start: options.start, end: options.end});
+		var href = this.computeNavigationHref({Location: loc}, {start: options.start, end: options.end});
 		if (!href)
 			return;