forked from extern/egroupware
Improve error message
This commit is contained in:
parent
e630823872
commit
282fb76cb6
@ -331,6 +331,10 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw '"' + res.data.func + '" is not a callable function (type is ' + typeof parent[func] + ')';
|
||||
}
|
||||
}
|
||||
throw 'Invalid parameters';
|
||||
}, null, 'apply');
|
||||
|
Loading…
Reference in New Issue
Block a user