| Summary: | Search page does not render the result link with a line number properly. | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> |
| Component: | Client | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ken_walker, libingw, Silenio_Quarti |
| Version: | 5.0 | Flags: | libingw:
review+
Silenio_Quarti: review? (ken_walker) |
| Target Milestone: | 5.0 RC3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
libing wang
I forgot to update a call to navigatorRenderer.createLink. It no longer takes the defaultEditor.
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js b/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js
index f53ef33..6278cc8 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js
@@ -388,7 +388,7 @@
var params = helper ? mSearchUtils.generateFindURLBinding(helper.params, helper.inFileQuery, item.lineNumber, helper.params.replace, true) : null;
var name = null;
var link = navigatorRenderer.createLink(null, {Location: item.parent.location, Name: name}, this.explorer._commandService, this.explorer._contentTypeService,
- this.explorer._openWithCommands, null /*defaultEditor*/, {id:this.getItemLinkId(item)}, params, {});
+ this.explorer._openWithCommands, {id:this.getItemLinkId(item)}, params, {});
spanHolder.appendChild(link);
mNavUtils.addNavGrid(this.explorer.getNavDict(), item, link);
verified the patch. |