Skip to content

Commit 10e9965

Browse files
author
zhourenjian
committed
Fixed a bug that a checkbox in Java2Script Application Misc Tab is in opposite status.
1 parent 49bc115 commit 10e9965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/net.sf.j2s.ui/src/net/sf/j2s/ui/launching/J2SLaunchingUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,9 @@ private static String generateHTML(ILaunchConfiguration configuration,
738738
buf.append("};\r\n");
739739

740740
boolean addonCompatiableJS = configuration.getAttribute(
741-
IJ2SLauchingConfiguration.J2S_MOZILLA_ADDON_COMPATIABLE_RAW_JS, false);
741+
IJ2SLauchingConfiguration.J2S_MOZILLA_ADDON_COMPATIABLE_RAW_JS, true);
742742

743-
if (addonCompatiableJS) {
743+
if (!addonCompatiableJS) {
744744
buf.append("</script>\r\n<script type=\"text/javascript\" src=\"" + j2sLibPath + "mozilla.addon.js\">");
745745
} else {
746746
buf.append("\r\n");

0 commit comments

Comments
 (0)