diff options
author | Eric Guzman | 2012-02-29 16:13:19 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-29 16:13:19 -0800 |
commit | 53bdb1e7773069c4cca59e88d6da91cd0f58c94a (patch) | |
tree | 44a2147fcbb43ea483f78a1e2e082919f9c81970 /js/io/system/coreioapi.js | |
parent | b2c60efb9c6f5dfa7b0fc5c2b9feebebc805ed97 (diff) | |
parent | b09956e4a9a35c5588cc7cd1f01efb617cbe0884 (diff) | |
download | ninja-53bdb1e7773069c4cca59e88d6da91cd0f58c94a.tar.gz |
Merge branch 'refs/heads/master' into CSSPanelUpdates
Conflicts:
js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-x | js/io/system/coreioapi.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js index 2051da43..f428a229 100755 --- a/js/io/system/coreioapi.js +++ b/js/io/system/coreioapi.js | |||
@@ -28,9 +28,9 @@ exports.CoreIoApi = Montage.create(Component, { | |||
28 | value: function () { | 28 | value: function () { |
29 | //////////////////////////////////////////////////////////// | 29 | //////////////////////////////////////////////////////////// |
30 | //Checking for local storage of URL for IO | 30 | //Checking for local storage of URL for IO |
31 | if (window.localStorage['ioRootUrl']) { | 31 | if (this.application.localStorage.getItem("ioRootUrl")) { |
32 | //Getting URL from local storage | 32 | //Getting URL from local storage |
33 | this.rootUrl = window.localStorage['ioRootUrl']; | 33 | this.rootUrl = this.application.localStorage.getItem("ioRootUrl"); |
34 | //Checks for IO API to be active | 34 | //Checks for IO API to be active |
35 | this.ioServiceDetected = this.cloudAvailable(); | 35 | this.ioServiceDetected = this.cloudAvailable(); |
36 | } else { | 36 | } else { |
@@ -156,7 +156,7 @@ exports.CoreIoApi = Montage.create(Component, { | |||
156 | return this._rootUrl; | 156 | return this._rootUrl; |
157 | }, | 157 | }, |
158 | set: function(value) { | 158 | set: function(value) { |
159 | this._rootUrl = window.localStorage["ioRootUrl"] = value; | 159 | this._rootUrl = this.application.localStorage.setItem("ioRootUrl", value); |
160 | } | 160 | } |
161 | }, | 161 | }, |
162 | //////////////////////////////////////////////////////////////////// | 162 | //////////////////////////////////////////////////////////////////// |