diff options
author | Valerio Virgillito | 2012-02-20 15:16:32 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-20 15:16:32 -0800 |
commit | bd7bc833895391e4974b8746f31f63ba70689df3 (patch) | |
tree | 4e33342d1d46e91c035a43726679841c113f7d62 /js/io | |
parent | e23708721a71ca4c71365f5f8e8ac7d6113926db (diff) | |
parent | a62b6a5c231ab83e682b5e3831b38824788c0707 (diff) | |
download | ninja-bd7bc833895391e4974b8746f31f63ba70689df3.tar.gz |
Merge pull request #57 from joseeight/CloudFix
Cloud URL localStorage Fix
Diffstat (limited to 'js/io')
-rwxr-xr-x | js/io/ui/cloudpopup.reel/cloudpopup.js | 4 |
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(); |