aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-17 00:20:42 -0800
committerJose Antonio Marquez2012-02-17 00:20:42 -0800
commit7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f (patch)
tree0a51be74f0d5b1f6c740cd1a9c79e00624a0c0af /js/io/ui
parent9fe5d98bf469036c856e28d71ad4160d630b4af4 (diff)
parent18a42c37d080c03830c3f0a4156b81044e6309ee (diff)
downloadninja-7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f.tar.gz
Merge branch 'refs/heads/NinjaInternal' into Color
Diffstat (limited to 'js/io/ui')
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js8
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..a2283d46 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 === 'windows') {
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 ////////////////////////////////////////////////////////////////////