mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Fix: cannot export an object with a property named "length" !!
SVN:trunk[4161]
This commit is contained in:
@@ -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()
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user