From: hansonr Date: Tue, 9 Apr 2019 04:39:28 +0000 (-0500) Subject: better comment regarding setting recognized ajax-enabled sites X-Git-Tag: Release_2_11_4_0~45^2~18^2~166 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ad4b515bfdf753da209c89309c0536e49f6d4d6d;p=jalview.git better comment regarding setting recognized ajax-enabled sites --- diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index fb786dc..3297104 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -571,15 +571,18 @@ public class Platform public static void addJ2SDirectDatabaseCall(String domain) { - System.out.println( - "Platform adding no-access-control-allow-origin domain " + if (isJS()) + { + System.out.println( + "Platform adding known access-control-allow-origin * for domain " + domain); + /** + * @j2sNative + * + * J2S.addDirectDatabaseCall(domain); + */ + } - /** - * @j2sNative - * - * J2S.addDirectDatabaseCall(domain); - */ } public static void getURLCommandArguments()