From b88cfa79ed80a7eb473f4959b10b7f1d565b80f4 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Thu, 16 Feb 2012 15:21:33 -0800 Subject: Adding Cloud app download URLs --- js/io/ui/cloudpopup.reel/cloudpopup.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'js/io/ui') 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, { downloadCloudApp: { enumerable: false, value: function() { - console.log(this._os); + if(this._os === 'mac') { + location.href = '/ninja_localcloud_for_mac.zip'; + } else if (this._os === 'win') { + location.href = '/ninja_localcloud_for_windows.zip'; + } else { + alert('Your operating system is not supported by the Ninja Local Cloud App.'); + } } }, //////////////////////////////////////////////////////////////////// -- cgit v1.2.3 From 25020fb66c38029dd57d3d90fedf9bde98b5d383 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Thu, 16 Feb 2012 15:48:48 -0800 Subject: Cloud download windows bug fix --- js/io/ui/cloudpopup.reel/cloudpopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/io/ui') diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js index 62f7e522..a2283d46 100755 --- a/js/io/ui/cloudpopup.reel/cloudpopup.js +++ b/js/io/ui/cloudpopup.reel/cloudpopup.js @@ -90,7 +90,7 @@ exports.CloudPopup = Montage.create(Component, { value: function() { if(this._os === 'mac') { location.href = '/ninja_localcloud_for_mac.zip'; - } else if (this._os === 'win') { + } else if (this._os === 'windows') { location.href = '/ninja_localcloud_for_windows.zip'; } else { alert('Your operating system is not supported by the Ninja Local Cloud App.'); -- cgit v1.2.3 From a42c536c2b3209afc058eabd31167bd0aa6f71c8 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Fri, 17 Feb 2012 13:40:38 -0800 Subject: Adding webRequest redirects for iFrame templates --- js/io/ui/cloudpopup.reel/cloudpopup.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/io/ui') diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.html b/js/io/ui/cloudpopup.reel/cloudpopup.html index 2c1c169a..e58041ec 100755 --- a/js/io/ui/cloudpopup.reel/cloudpopup.html +++ b/js/io/ui/cloudpopup.reel/cloudpopup.html @@ -36,7 +36,7 @@

Connection to the Cloud Server was not detected. Please verify
that the server is running and the URL below is correct.

- + -- cgit v1.2.3