mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 15:00:07 +01:00
I can find no issues with attributes being objects, removing check & warning.
This commit is contained in:
parent
ab3fbd56bd
commit
a0b07635eb
@ -580,19 +580,9 @@ var et2_widget = Class.extend(
|
|||||||
if (typeof data === 'object')
|
if (typeof data === 'object')
|
||||||
{
|
{
|
||||||
for (var key in data)
|
for (var key in data)
|
||||||
{
|
|
||||||
// TODO: Why?
|
|
||||||
if (!(typeof data[key] === 'object'))
|
|
||||||
{
|
{
|
||||||
_attrs[key] = data[key];
|
_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];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user