aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/cloudpopup.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/io/ui/cloudpopup.reel')
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js
index d2e82662..34393db5 100755
--- a/js/io/ui/cloudpopup.reel/cloudpopup.js
+++ b/js/io/ui/cloudpopup.reel/cloudpopup.js
@@ -23,6 +23,12 @@ exports.CloudPopup = Montage.create(Component, {
23 }, 23 },
24 //////////////////////////////////////////////////////////////////// 24 ////////////////////////////////////////////////////////////////////
25 // 25 //
26 callback:{
27 writable:true,
28 enumerable:true,
29 value:null
30 },
31 //
26 components: { 32 components: {
27 enumerable: false, 33 enumerable: false,
28 value: {test_btn: null, ok_btn: null, cancel_btn: null, download_btn: null, status: null, url: null} 34 value: {test_btn: null, ok_btn: null, cancel_btn: null, download_btn: null, status: null, url: null}
@@ -125,6 +131,10 @@ exports.CloudPopup = Montage.create(Component, {
125 value: function() { 131 value: function() {
126 // 132 //
127 this.application.ninja.coreIoApi.hideCloudDialog(); 133 this.application.ninja.coreIoApi.hideCloudDialog();
134 this.application.ninja.coreIoApi._cloudDialogOpen=false;
135 if(!!this.callback){
136 this.callback();
137 }
128 } 138 }
129 }, 139 },
130 //////////////////////////////////////////////////////////////////// 140 ////////////////////////////////////////////////////////////////////
@@ -135,6 +145,7 @@ exports.CloudPopup = Montage.create(Component, {
135 // 145 //
136 this.application.ninja.coreIoApi.rootUrl = null; 146 this.application.ninja.coreIoApi.rootUrl = null;
137 this.application.ninja.coreIoApi.hideCloudDialog(); 147 this.application.ninja.coreIoApi.hideCloudDialog();
148 this.application.ninja.coreIoApi._cloudDialogOpen=false;
138 } 149 }
139 } 150 }
140 //////////////////////////////////////////////////////////////////// 151 ////////////////////////////////////////////////////////////////////