From: Edward Mann Date: Mon, 28 Jan 2008 17:30:27 +0000 (+0000) Subject: The manualView when the link is clicked it will show a error page. I have added a... X-Git-Url: http://secure.phpeclipse.com The manualView when the link is clicked it will show a error page. I have added a new else if to check and just write empty to the page. --- diff --git a/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java b/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java index b4ff23c..37eadca 100644 --- a/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java +++ b/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java @@ -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(""); 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(""); } } });