diff options
author | Jose Antonio Marquez | 2012-02-20 15:08:49 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-20 15:08:49 -0800 |
commit | a62b6a5c231ab83e682b5e3831b38824788c0707 (patch) | |
tree | 4e33342d1d46e91c035a43726679841c113f7d62 /js/io | |
parent | e23708721a71ca4c71365f5f8e8ac7d6113926db (diff) | |
download | ninja-a62b6a5c231ab83e682b5e3831b38824788c0707.tar.gz |
Cloud URL localStorage Fix
Fixed logic to remember and display the previously used URL for local cloud if not started on Ninja load.
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(); |