I can find no issues with attributes being objects, removing check & warning.

This commit is contained in:
Nathan Gray 2013-07-05 15:03:49 +00:00
parent ab3fbd56bd
commit a0b07635eb

View File

@ -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];
}
}
}