mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Improve error message to include expected format
This commit is contained in:
parent
c9c5a8c77f
commit
7e17ba49c0
@ -262,7 +262,7 @@ function nm_open_popup(_action, _ids)
|
|||||||
nm_popup_action = _action;
|
nm_popup_action = _action;
|
||||||
if(_ids.length && typeof _ids[0] == 'object')
|
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;
|
_action.data.nextmatch = _ids[0]._context._widget;
|
||||||
nm_popup_ids = [];
|
nm_popup_ids = [];
|
||||||
for(var i = 0; i < _ids.length; i++)
|
for(var i = 0; i < _ids.length; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user