mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
I can find no issues with attributes being objects, removing check & warning.
This commit is contained in:
parent
ab3fbd56bd
commit
a0b07635eb
@ -581,17 +581,7 @@ var et2_widget = Class.extend(
|
||||
{
|
||||
for (var key in data)
|
||||
{
|
||||
// TODO: Why?
|
||||
if (!(typeof data[key] === 'object'))
|
||||
{
|
||||
_attrs[key] = data[key];
|
||||
}
|
||||
else
|
||||
{
|
||||
this.egw().debug("warn", "Attributes cannot be objects", this, key, data[key]);
|
||||
// Do it anyway, unless we figure out why not
|
||||
_attrs[key] = data[key];
|
||||
}
|
||||
_attrs[key] = data[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user