From 8f71c09ff5f9edafa5ee897d56da493468c4101b Mon Sep 17 00:00:00 2001 From: clemenso Date: Tue, 23 Jun 2009 09:50:54 +0000 Subject: Workaround to [#424] Web Start loading via java plugin (Sun deployment script) fails on WinXP git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@370 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUOnline/src/main/webapp/index.html | 5 ++--- BKUOnline/src/main/webapp/js/deployJava.js | 17 +++++++++++------ 2 files changed, 13 insertions(+), 9 deletions(-) (limited to 'BKUOnline') diff --git a/BKUOnline/src/main/webapp/index.html b/BKUOnline/src/main/webapp/index.html index b0e519a5..aa09f9f4 100644 --- a/BKUOnline/src/main/webapp/index.html +++ b/BKUOnline/src/main/webapp/index.html @@ -20,7 +20,7 @@ MOCCA Online - +
@@ -32,13 +32,12 @@

STAL Service

STAL Service Endpoint

MOCCA Web Start

- |-->

diff --git a/BKUOnline/src/main/webapp/js/deployJava.js b/BKUOnline/src/main/webapp/js/deployJava.js index 8d644e00..dbeab995 100644 --- a/BKUOnline/src/main/webapp/js/deployJava.js +++ b/BKUOnline/src/main/webapp/js/deployJava.js @@ -31,8 +31,11 @@ /* * Added by EGIZ: - * This file contains a workaround to https://bugzilla.mozilla.org/show_bug.cgi?id=498132 - * (see lines 90-92) + * This file contains workarounds to + * [#423] Firefox 3.0.11 bug #498132 causes applet loading failure + * (lines 95-99) + * [#424] Web Start loading via java plugin (Sun deployment script) fails on WinXP + * (lines 501-506) */ /* @@ -89,6 +92,7 @@ var deployJava = { var list = new Array(); if (deployJava.isPluginInstalled()) { var plugin = deployJava.getPlugin(); + //[#423] Firefox 3.0.11 bug #498132 causes applet loading failure var jvms = plugin.jvms; for (var i = 0; i < jvms.getLength(); i++) { list[i] = jvms.get(i).version; @@ -493,12 +497,13 @@ var deployJava = { * Launch a JNLP application, (using the plugin if available) */ launch: function(jnlp) { - if (deployJava.isPluginInstalled()) { - return deployJava.getPlugin().launch(jnlp); - } else { + //[#424] Web Start loading via java plugin (Sun deployment script) fails on WinXP +// if (deployJava.isPluginInstalled()) { +// return deployJava.getPlugin().launch(jnlp); +// } else { document.location=jnlp; return true; - } +// } }, -- cgit v1.2.3