git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-3026 JDesktop/JInternalFrames support + relative URL file loading
[jalview.git]
/
src
/
jalview
/
io
/
AppletFormatAdapter.java
diff --git
a/src/jalview/io/AppletFormatAdapter.java
b/src/jalview/io/AppletFormatAdapter.java
index
5e209e6
..
3f51ea8
100755
(executable)
--- a/
src/jalview/io/AppletFormatAdapter.java
+++ b/
src/jalview/io/AppletFormatAdapter.java
@@
-422,6
+422,10
@@
public class AppletFormatAdapter
{
protocol = DataSourceType.URL;
}
+ else if (jalview.bin.Jalview.isJS)
+ {
+ protocol = DataSourceType.RELATIVE_URL;
+ }
else if (new File(data).exists())
{
protocol = DataSourceType.FILE;