mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
Fix: cannot export an object with a property named "length" !!
SVN:2.2.0[4162]
This commit is contained in:
@@ -384,7 +384,7 @@ $(function()
|
|||||||
_flatten_fields: function(aFields)
|
_flatten_fields: function(aFields)
|
||||||
{
|
{
|
||||||
// Update the "flattened" via of the fields
|
// 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 k in aFields)
|
||||||
{
|
{
|
||||||
for(var i in aFields[k])
|
for(var i in aFields[k])
|
||||||
|
|||||||
Reference in New Issue
Block a user