diff options
author | Jose Antonio Marquez | 2012-02-10 15:29:12 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-10 15:29:12 -0800 |
commit | 632a5daca17acb774b9344ccc0e9107f1643924c (patch) | |
tree | 2f09f2f50f0e4a7b97bb7a2b7e2d487765bb89ff /js/io/ui | |
parent | 13b98b96ab36da5029204aa2a35d0d646d471274 (diff) | |
download | ninja-632a5daca17acb774b9344ccc0e9107f1643924c.tar.gz |
File Open
Adding the functionality to open a basic file.
Diffstat (limited to 'js/io/ui')
-rwxr-xr-x | js/io/ui/cloudpopup.reel/cloudpopup.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js index 1344661b..e5bad98e 100755 --- a/js/io/ui/cloudpopup.reel/cloudpopup.js +++ b/js/io/ui/cloudpopup.reel/cloudpopup.js | |||
@@ -51,6 +51,9 @@ exports.CloudPopup = Montage.create(Component, { | |||
51 | this._os = 'windows'; | 51 | this._os = 'windows'; |
52 | } else if (navigator.appVersion.indexOf("Mac")!=-1) { | 52 | } else if (navigator.appVersion.indexOf("Mac")!=-1) { |
53 | this._os = 'mac'; | 53 | this._os = 'mac'; |
54 | } else { | ||
55 | //Alternate message for no OS detected (probably Linux) | ||
56 | this.element.getElementsByTagName('section')[0].style.display = 'none'; | ||
54 | } | 57 | } |
55 | } | 58 | } |
56 | }, | 59 | }, |