mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 10:12:46 +02:00
More informative error message - include wrong value and possible correct options
This commit is contained in:
parent
04fe78762f
commit
8bc924699f
@ -249,8 +249,8 @@ console.debug(_attrib);
|
|||||||
{
|
{
|
||||||
if (et2_validTypes.indexOf(_attrib["type"]) < 0)
|
if (et2_validTypes.indexOf(_attrib["type"]) < 0)
|
||||||
{
|
{
|
||||||
egw.debug("error", "Invalid type for attribute '" + _id +
|
egw.debug("error", "Invalid type '" + _attrib["type"] + "' for attribute '" + _id +
|
||||||
"' supplied.");
|
"' supplied. Valid types are ", et2_validTypes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user