Fix: cannot export an object with a property named "length" !!

SVN:2.2.0[4162]
This commit is contained in:
Denis Flaven
2016-05-30 09:27:29 +00:00
parent 20fbf151ff
commit f84bf4de68

View File

@@ -384,7 +384,7 @@ $(function()
_flatten_fields: function(aFields)
{
// Update the "flattened" via of the fields
this.aFieldsByCode = [];
this.aFieldsByCode = {}; // Must be an object since indexes are non-numeric
for(var k in aFields)
{
for(var i in aFields[k])
@@ -515,4 +515,4 @@ $(function()
});
}
});
});
});