mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 20:11:23 +02:00
More detailed error messages
This commit is contained in:
@@ -35,7 +35,7 @@ var et2_arrayMgr = Class.extend({
|
|||||||
// Hold a reference to the data
|
// Hold a reference to the data
|
||||||
if (typeof _data == "undefined" || !_data)
|
if (typeof _data == "undefined" || !_data)
|
||||||
{
|
{
|
||||||
egw.debug("error", "Invalid data passed to content array manager!");
|
egw.debug("error", "No data passed to content array manager!");
|
||||||
_data = {};
|
_data = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -196,7 +196,7 @@ function et2_checkType(_val, _type, _attr, _cname)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We should never come here
|
// We should never come here
|
||||||
throw("Invalid type identifier supplied.");
|
throw("Invalid type identifier '" + _attr + ": " + _type + "' supplied by '" + _cname + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user