From 9f80fc891b7952900dabec04877606c6c8229c61 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Tue, 21 Feb 2012 09:47:05 -0800 Subject: 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 --- js/io/ui/cloudpopup.reel/cloudpopup.js | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'js/io/ui') 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, { }, //////////////////////////////////////////////////////////////////// // - callback:{ - writable:true, - enumerable:true, - value:null - }, - // components: { enumerable: false, 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, { value: function() { // this.application.ninja.coreIoApi.hideCloudDialog(); - this.application.ninja.coreIoApi._cloudDialogOpen=false; - if(!!this.callback){ - this.callback(); - } } }, //////////////////////////////////////////////////////////////////// @@ -145,7 +135,6 @@ exports.CloudPopup = Montage.create(Component, { // this.application.ninja.coreIoApi.rootUrl = null; this.application.ninja.coreIoApi.hideCloudDialog(); - this.application.ninja.coreIoApi._cloudDialogOpen=false; } } //////////////////////////////////////////////////////////////////// -- cgit v1.2.3