diff options
author | Nivesh Rajbhandari | 2012-02-22 21:12:47 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-22 21:12:47 -0800 |
commit | 58a491643158ef2b378565153e174fcd65313483 (patch) | |
tree | a4c9cdc76cba04a3741305a8e9d26a34980a253e /js | |
parent | 095acca0cdd72cbe6a26be74ec742ef98d529136 (diff) | |
download | ninja-58a491643158ef2b378565153e174fcd65313483.tar.gz |
Adding back the local storage check in the cloudpopup.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-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(); |