Improve error message to include expected format

This commit is contained in:
Nathan Gray 2012-07-23 17:58:04 +00:00
parent c9c5a8c77f
commit 7e17ba49c0

View File

@ -262,7 +262,7 @@ function nm_open_popup(_action, _ids)
nm_popup_action = _action;
if(_ids.length && typeof _ids[0] == 'object')
{
egw().debug("warn", 'Not proper format for IDs');
egw().debug("warn", 'Not proper format for IDs, should be array',_ids);
_action.data.nextmatch = _ids[0]._context._widget;
nm_popup_ids = [];
for(var i = 0; i < _ids.length; i++)