mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +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)
|
||||
{
|
||||
// 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()
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user