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

SVN:trunk[4161]
This commit is contained in:
Denis Flaven
2016-05-30 09:25:29 +00:00
parent 026edb523c
commit 9fc3b52b24

View File

@@ -385,7 +385,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])
@@ -516,4 +516,4 @@ $(function()
});
}
});
});
});