summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-10-06 10:03:53 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-10-06 10:03:53 +0000
commit25cbc5fbcf4016c5b7bfaa38b6ae1354ea43120c (patch)
tree4b794cb5479919960ec0718e4e8e2f9d6c4f8b6a
parent1eef6f950703d93bccc557210be8f1820818aa73 (diff)
downloadmocca-25cbc5fbcf4016c5b7bfaa38b6ae1354ea43120c.tar.gz
mocca-25cbc5fbcf4016c5b7bfaa38b6ae1354ea43120c.tar.bz2
mocca-25cbc5fbcf4016c5b7bfaa38b6ae1354ea43120c.zip
disable launch button for mac os < 10.6
(tested for firefox/safari) git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@523 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r--BKUOnline/src/main/webapp/js/deployJava.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/js/deployJava.js b/BKUOnline/src/main/webapp/js/deployJava.js
index f4027953..e25902c0 100644
--- a/BKUOnline/src/main/webapp/js/deployJava.js
+++ b/BKUOnline/src/main/webapp/js/deployJava.js
@@ -491,7 +491,9 @@ var deployJava = {
// [#425] Disable WebStart Launch Button for MacOS
if (navigator.appVersion.toLowerCase().indexOf("mac")!=-1 &&
- navigator.appVersion.toLowerCase().indexOf("os x 10_6")==-1) {
+ navigator.userAgent.toLowerCase().indexOf("os x 10_6")==-1 &&
+ navigator.userAgent.toLowerCase().indexOf("os x 10.6")==-1 )
+ {
document.write('<' + 'a disabled="disabled"' +
' onMouseOver="window.status=\'\'; ' +
'return true;"><' + 'img class="disabled"' +