[fusion-commits] r2839 - branches/fusion-mg26/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue May 27 02:11:20 PDT 2014
Author: jng
Date: 2014-05-27 02:11:20 -0700 (Tue, 27 May 2014)
New Revision: 2839
Modified:
branches/fusion-mg26/lib/fusion.js
Log:
Replace eval() with Fusion.parseJSON()
Modified: branches/fusion-mg26/lib/fusion.js
===================================================================
--- branches/fusion-mg26/lib/fusion.js 2014-05-27 09:10:37 UTC (rev 2838)
+++ branches/fusion-mg26/lib/fusion.js 2014-05-27 09:11:20 UTC (rev 2839)
@@ -824,8 +824,7 @@
*/
xml2json: function(callback, r, json) {
if (json) {
- var o;
- eval("o="+r.responseText);
+ var o = Fusion.parseJSON(r.responseText);
callback(o);
} else {
if (r.status >= 400) {
More information about the fusion-commits
mailing list