Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2009-12-01 20:17:01 +0000
committerChris Goldthorpe2009-12-01 20:17:01 +0000
commitd96330bfe835a322b18671af8327fa8ee613d4d6 (patch)
tree6ee121a4e8729d205f46c30ffbf79c2c7319c0fe
parent86921939818fadb6b29a7f729c74da637b5fcfb8 (diff)
downloadeclipse.platform.ua-d96330bfe835a322b18671af8327fa8ee613d4d6.tar.gz
eclipse.platform.ua-d96330bfe835a322b18671af8327fa8ee613d4d6.tar.xz
eclipse.platform.ua-d96330bfe835a322b18671af8327fa8ee613d4d6.zip
Bug 296506 – [Webapp] Quick search of Toc only searches subtopics:
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableToc.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableToc.java b/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableToc.java
index d681c72fd..5dff779a5 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableToc.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableToc.java
@@ -52,6 +52,9 @@ public class AdaptableToc extends AdaptableHelpResource {
* @see org.eclipse.help.IToc#getTopic(java.lang.String)
*/
public ITopic getTopic(String href) {
+ if(null != href && href.equals(((IToc) element).getTopic(null).getHref())){
+ return ((IToc) element).getTopic(null);
+ }
return ((IToc) element).getTopic(href);
}

Back to the top