git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1718e10
)
fix for JAL-1678
author
Jim Procter
<jprocter@dundee.ac.uk>
Fri, 27 Feb 2015 16:58:45 +0000
(16:58 +0000)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Fri, 27 Feb 2015 16:58:45 +0000
(16:58 +0000)
src/jalview/appletgui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AlignFrame.java
b/src/jalview/appletgui/AlignFrame.java
index
1f32da0
..
e84c335
100644
(file)
--- a/
src/jalview/appletgui/AlignFrame.java
+++ b/
src/jalview/appletgui/AlignFrame.java
@@
-1280,7
+1280,11
@@
public class AlignFrame extends EmbmenuFrame implements ActionListener,
{
StringBuffer url = new StringBuffer(jalviewServletURL);
- url.append("?open="
+ // allow servlet parameters to be passed in applet parameter
+ String firstSep = url.indexOf("?") > url.indexOf("/") ? "&" : "?";
+ url.append(firstSep);
+
+ url.append("open="
+ appendProtocol(viewport.applet.getParameter("file")));
if (viewport.applet.getParameter("features") != null)