diff options
author | Valerio Virgillito | 2012-02-16 15:49:15 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-16 15:49:15 -0800 |
commit | eed7248d6fd8b12c5702612625c8df914dc2fd45 (patch) | |
tree | e435ae3547d42ac8df8d7482e599b6c0bc51c906 /js/io | |
parent | 29b05964dccaedb5953d9661eee258ef11a69a83 (diff) | |
parent | 63cdd5a614aacdebd9e3c9a6118bbe4a2c79145e (diff) | |
download | ninja-eed7248d6fd8b12c5702612625c8df914dc2fd45.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'js/io')
-rwxr-xr-x | js/io/ui/cloudpopup.reel/cloudpopup.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js index e5bad98e..62f7e522 100755 --- a/js/io/ui/cloudpopup.reel/cloudpopup.js +++ b/js/io/ui/cloudpopup.reel/cloudpopup.js | |||
@@ -88,7 +88,13 @@ exports.CloudPopup = Montage.create(Component, { | |||
88 | downloadCloudApp: { | 88 | downloadCloudApp: { |
89 | enumerable: false, | 89 | enumerable: false, |
90 | value: function() { | 90 | value: function() { |
91 | console.log(this._os); | 91 | if(this._os === 'mac') { |
92 | location.href = '/ninja_localcloud_for_mac.zip'; | ||
93 | } else if (this._os === 'win') { | ||
94 | location.href = '/ninja_localcloud_for_windows.zip'; | ||
95 | } else { | ||
96 | alert('Your operating system is not supported by the Ninja Local Cloud App.'); | ||
97 | } | ||
92 | } | 98 | } |
93 | }, | 99 | }, |
94 | //////////////////////////////////////////////////////////////////// | 100 | //////////////////////////////////////////////////////////////////// |