aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-20 15:08:49 -0800
committerJose Antonio Marquez2012-02-20 15:08:49 -0800
commita62b6a5c231ab83e682b5e3831b38824788c0707 (patch)
tree4e33342d1d46e91c035a43726679841c113f7d62 /js
parente23708721a71ca4c71365f5f8e8ac7d6113926db (diff)
downloadninja-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')
-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();