aboutsummaryrefslogtreecommitdiff
path: root/js/io/system/coreioapi.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-01 11:51:24 -0800
committerJose Antonio Marquez2012-02-01 11:51:24 -0800
commitd74910a897f2db920f6f67d922532d245074c8f7 (patch)
tree2a19bc6a17324af2b1a33c316aa1109006f4d8dc /js/io/system/coreioapi.js
parente824b4901817429231cd9ab6aa068cc0a0849e3a (diff)
downloadninja-d74910a897f2db920f6f67d922532d245074c8f7.tar.gz
Fixing coreIO API referencing
Diffstat (limited to 'js/io/system/coreioapi.js')
-rwxr-xr-xjs/io/system/coreioapi.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index 74b066ac..7e883b81 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -207,6 +207,7 @@ exports.CoreIoApi = Montage.create(Component, {
207 directoryServiceURL: { 207 directoryServiceURL: {
208 enumerable: false, 208 enumerable: false,
209 get: function() { 209 get: function() {
210 console.log(this);
210 return String(this.rootUrl+this._directoryServiceURL); 211 return String(this.rootUrl+this._directoryServiceURL);
211 }, 212 },
212 set: function(value) { 213 set: function(value) {
@@ -1015,7 +1016,7 @@ exports.CoreIoApi = Montage.create(Component, {
1015 // 1016 //
1016 if (xhr.readyState === 4) { 1017 if (xhr.readyState === 4) {
1017 retValue.status = xhr.status; 1018 retValue.status = xhr.status;
1018 eval('retValue.response = '+xhr.response); 1019 retValue.response = JSON.parse(xhr.response);
1019 retValue.success = true; 1020 retValue.success = true;
1020 } 1021 }
1021 } 1022 }