The manualView when the link is clicked it will show a error page. I have added a...
[phpeclipse.git] / net.sourceforge.phpeclipse.phpmanual / src / net / sourceforge / phpeclipse / phpmanual / views / PHPManualView.java
index b4ff23c..37eadca 100644 (file)
@@ -107,12 +107,13 @@ public class PHPManualView extends ViewPart implements INullSelectionListener, I
                                        String[] afunc = loc.split("\\.");
                                        if(!afunc[1].equalsIgnoreCase(lastOccurrence)) {
                                                lastOccurrence = afunc[1];
-                                               // TODO find a better way of not showing the location error page. This is a cheap trick
-                                               // to keep the page from showing.
-                                               // ed_mann
-                                               browser.setText("<html></html>");
                                                showLinkReference(func);
                                        }
+                               } else if (loc.startsWith("jar:")) {
+                                       // TODO find a better way of not showing the location error page. This is a cheap trick
+                                       // to keep the page from showing.
+                                       // ed_mann
+                                       browser.setText("<html></html>");
                                }
                        }
                });