diff options
| author | Shireesh Anjal <shireesh@gluster.com> | 2011-08-03 21:14:46 +0530 |
|---|---|---|
| committer | Shireesh Anjal <shireesh@gluster.com> | 2011-08-03 21:14:46 +0530 |
| commit | 40e2c90ac47a4f9ed0eef08819d382e9644a87cf (patch) | |
| tree | 8af4a439232daddc18ba3aaeb5db42a191f8061f /src | |
| parent | 3443b83623d873b04f955ac34beac86fd65a35d6 (diff) | |
Modified to show appropriate links in case of Mac OS X where the architecture can't be auto-detected.
Diffstat (limited to 'src')
| -rw-r--r-- | src/com.gluster.storage.management.gateway/WebContent/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com.gluster.storage.management.gateway/WebContent/index.html b/src/com.gluster.storage.management.gateway/WebContent/index.html index d8ad6414..4343d66c 100644 --- a/src/com.gluster.storage.management.gateway/WebContent/index.html +++ b/src/com.gluster.storage.management.gateway/WebContent/index.html @@ -67,17 +67,17 @@ element = document.getElementById('always_on'); element.style.display = "block"; - if ( os == null ) { + if ( os == "unknown" ) { var element = document.getElementById('unknown_os'); element.style.display = "block"; } - if ( os == "macosx" && arch == null ) { + if ( os == "macosx" && arch == "unknown" ) { var element = document.getElementById('unknown_arch'); element.style.display = "block"; } - if ( os != null && ws != null && arch != null ) { + if ( os != "unknown" && ws != "unknown" && arch != "unknown" ) { // os-ws-arch detected. redirect to appropriate jnlp var element = document.getElementById('all_ok'); element.style.display = "block"; |
