http://issues.jalview.org/browse/JAL-604
{
System.out.println("Show url: " + url);
}
- viewport.applet.getAppletContext().showDocument(
+ if (url.indexOf("javascript:")==0)
+ {
+ // no target for the javascript context
+ viewport.applet.getAppletContext().showDocument(new java.net.URL(url));
+ } else{
+ viewport.applet.getAppletContext().showDocument(
new java.net.URL(url), target);
+ }
} catch (Exception ex)
{
ex.printStackTrace();