diff options
author | Ananya Sen | 2012-02-21 09:47:05 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-21 09:47:05 -0800 |
commit | 9f80fc891b7952900dabec04877606c6c8229c61 (patch) | |
tree | a23ecc6a0483d33875d44081cc3360c3fb74202e /js/io/ui | |
parent | 7dda611879e6232337d3f0540f8ae896c60fb898 (diff) | |
download | ninja-9f80fc891b7952900dabec04877606c6c8229c61.tar.gz |
Revert "check cloud availability before open file picker and new file dialogs"
This reverts commit 3251315ecc22544dab50623ee5862e00dfe02302.
Conflicts:
js/controllers/document-controller.js
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui')
-rwxr-xr-x | js/io/ui/cloudpopup.reel/cloudpopup.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js index 34393db5..d2e82662 100755 --- a/js/io/ui/cloudpopup.reel/cloudpopup.js +++ b/js/io/ui/cloudpopup.reel/cloudpopup.js | |||
@@ -23,12 +23,6 @@ exports.CloudPopup = Montage.create(Component, { | |||
23 | }, | 23 | }, |
24 | //////////////////////////////////////////////////////////////////// | 24 | //////////////////////////////////////////////////////////////////// |
25 | // | 25 | // |
26 | callback:{ | ||
27 | writable:true, | ||
28 | enumerable:true, | ||
29 | value:null | ||
30 | }, | ||
31 | // | ||
32 | components: { | 26 | components: { |
33 | enumerable: false, | 27 | enumerable: false, |
34 | value: {test_btn: null, ok_btn: null, cancel_btn: null, download_btn: null, status: null, url: null} | 28 | value: {test_btn: null, ok_btn: null, cancel_btn: null, download_btn: null, status: null, url: null} |
@@ -131,10 +125,6 @@ exports.CloudPopup = Montage.create(Component, { | |||
131 | value: function() { | 125 | value: function() { |
132 | // | 126 | // |
133 | this.application.ninja.coreIoApi.hideCloudDialog(); | 127 | this.application.ninja.coreIoApi.hideCloudDialog(); |
134 | this.application.ninja.coreIoApi._cloudDialogOpen=false; | ||
135 | if(!!this.callback){ | ||
136 | this.callback(); | ||
137 | } | ||
138 | } | 128 | } |
139 | }, | 129 | }, |
140 | //////////////////////////////////////////////////////////////////// | 130 | //////////////////////////////////////////////////////////////////// |
@@ -145,7 +135,6 @@ exports.CloudPopup = Montage.create(Component, { | |||
145 | // | 135 | // |
146 | this.application.ninja.coreIoApi.rootUrl = null; | 136 | this.application.ninja.coreIoApi.rootUrl = null; |
147 | this.application.ninja.coreIoApi.hideCloudDialog(); | 137 | this.application.ninja.coreIoApi.hideCloudDialog(); |
148 | this.application.ninja.coreIoApi._cloudDialogOpen=false; | ||
149 | } | 138 | } |
150 | } | 139 | } |
151 | //////////////////////////////////////////////////////////////////// | 140 | //////////////////////////////////////////////////////////////////// |