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:
890d06e
)
JAL-3446 forgot to escape Java in modified Platform.getAppID
author
BobHanson
<hansonr@stolaf.edu>
Fri, 5 Jun 2020 15:35:23 +0000
(10:35 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Fri, 5 Jun 2020 15:35:23 +0000
(10:35 -0500)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
8f8350f
..
c89f1e7
100644
(file)
--- a/
src/jalview/util/Platform.java
+++ b/
src/jalview/util/Platform.java
@@
-930,11
+930,12
@@
public class Platform
*/
public static String getAppID(String frameType)
{
+
String id = Jalview.getInstance().j2sAppletID;
if (id == null)
{
- Jalview.getInstance().j2sAppletID = id = (String) jsutil
- .getAppletAttribute("_id");
+ Jalview.getInstance().j2sAppletID = id = (isJS ? (String) jsutil
+ .getAppletAttribute("_id") : "jalview");
}
return id + (frameType == null ? "" : "-" + frameType);
}