summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/js
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-11-27 15:25:58 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-11-27 15:25:58 +0000
commit66e441c808de4269103cecf31ffd09252983917e (patch)
treeccba03a0f7e8fc7389491e37fec4b8b0c13aa0d0 /BKUOnline/src/main/webapp/js
parent959130f29903568c6b7fe3d6538b33887b3b1aaf (diff)
downloadmocca-66e441c808de4269103cecf31ffd09252983917e.tar.gz
mocca-66e441c808de4269103cecf31ffd09252983917e.tar.bz2
mocca-66e441c808de4269103cecf31ffd09252983917e.zip
locale config
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@222 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp/js')
-rw-r--r--BKUOnline/src/main/webapp/js/deployJava.js15
1 files changed, 13 insertions, 2 deletions
diff --git a/BKUOnline/src/main/webapp/js/deployJava.js b/BKUOnline/src/main/webapp/js/deployJava.js
index 4d8a0ca3..5466cbdd 100644
--- a/BKUOnline/src/main/webapp/js/deployJava.js
+++ b/BKUOnline/src/main/webapp/js/deployJava.js
@@ -40,7 +40,7 @@
* http://java.com/js/deployJava.js.
* You are encouraged to link directly to the live copy of the file.
*
- * @version @(#)deployJava.js 1.11 08/07/11
+ * @version @(#)deployJava.js 1.13 08/10/28
*/
var deployJava = {
@@ -88,7 +88,7 @@ var deployJava = {
}
} else {
var browser = deployJava.getBrowser();
-
+
if (browser == 'MSIE') {
if (deployJava.testUsingActiveX('1.8.0')) {
list[0] = '1.8.0';
@@ -319,11 +319,18 @@ var deployJava = {
document.write(s);
if (parameters != 'undefined' && parameters != null) {
+ var codebaseParam = false;
for (var parameter in parameters) {
+ if (parameter == 'codebase_lookup') {
+ codebaseParam = true;
+ }
s = '<param name="' + parameter + '" value="' +
parameters[parameter] + '">';
document.write(s);
}
+ if (!codebaseParam) {
+ document.write('<param name="codebase_lookup" value="false">');
+ }
}
document.write('<' + '/' + 'applet' + '>');
},
@@ -630,6 +637,10 @@ var deployJava = {
alert('We claim to have detected "IE".');
}
return 'MSIE';
+// } else if ((browser.indexOf('konqueror') != -1)) {
+// if (deployJava.debug) {
+// alert('We claim to have detected "Konqueror".');
+// }
} else if ((browser.indexOf('mozilla') != -1) ||
(browser.indexOf('firefox') != -1)) {
if (deployJava.debug) {