aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-20 15:16:32 -0800
committerValerio Virgillito2012-02-20 15:16:32 -0800
commitbd7bc833895391e4974b8746f31f63ba70689df3 (patch)
tree4e33342d1d46e91c035a43726679841c113f7d62
parente23708721a71ca4c71365f5f8e8ac7d6113926db (diff)
parenta62b6a5c231ab83e682b5e3831b38824788c0707 (diff)
downloadninja-bd7bc833895391e4974b8746f31f63ba70689df3.tar.gz
Merge pull request #57 from joseeight/CloudFix
Cloud URL localStorage Fix
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js
index a2283d46..d2e82662 100755
--- a/js/io/ui/cloudpopup.reel/cloudpopup.js
+++ b/js/io/ui/cloudpopup.reel/cloudpopup.js
@@ -63,6 +63,10 @@ exports.CloudPopup = Montage.create(Component, {
63 enumerable: false, 63 enumerable: false,
64 value: function() { 64 value: function() {
65 // 65 //
66 if (window.localStorage['ioRootUrl']) {
67 this.components.url.value = window.localStorage['ioRootUrl'];
68 }
69 //
66 this.testConnection(); 70 this.testConnection();
67 if (this.application.ninja.coreIoApi.cloudAvailable()) { 71 if (this.application.ninja.coreIoApi.cloudAvailable()) {
68 this.closeDialog(); 72 this.closeDialog();