diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-10-06 10:03:53 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-10-06 10:03:53 +0000 |
commit | 25cbc5fbcf4016c5b7bfaa38b6ae1354ea43120c (patch) | |
tree | 4b794cb5479919960ec0718e4e8e2f9d6c4f8b6a /BKUOnline/src/main | |
parent | 1eef6f950703d93bccc557210be8f1820818aa73 (diff) | |
download | mocca-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
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r-- | BKUOnline/src/main/webapp/js/deployJava.js | 4 |
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"' + |