author | tgambet |
Thu, 25 Aug 2011 10:32:35 -0400 | |
changeset 53 | 7b4af36a74b5 |
parent 52 | df9f2706c5ce |
child 54 | 9928454fcc90 |
src/main/resources/scripts/Utils.js |
--- a/src/main/resources/scripts/Utils.js Wed Aug 24 17:52:14 2011 -0400 +++ b/src/main/resources/scripts/Utils.js Thu Aug 25 10:32:35 2011 -0400 @@ -178,7 +178,7 @@ }, requestJSON : function (uri, body, callback, async) { - return eval('(' + Util.request(uri, body, callback, async) + ')'); + return JSON.parse(Util.request(uri, body, callback, async)); } };