summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/js/htdocs/jsonutil.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/js/htdocs/jsonutil.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/js/htdocs/jsonutil.js b/sca-cpp/trunk/modules/js/htdocs/jsonutil.js
index 1a1a027e88..47e3ec4130 100644
--- a/sca-cpp/trunk/modules/js/htdocs/jsonutil.js
+++ b/sca-cpp/trunk/modules/js/htdocs/jsonutil.js
@@ -80,7 +80,7 @@ json.jsValToValue = function(jsv) {
if (isList(jsv))
return json.jsPropertiesToValues(mklist(), jsv, reverse(range(0, jsv.length)));
if (typeof jsv == 'object')
- return json.jsPropertiesToValues(mklist(), jsv, properties(jsv));
+ return json.jsPropertiesToValues(mklist(), jsv, reverse(properties(jsv)));
if (typeof jsv == 'string')
return '' + jsv;
return jsv;