Improve error message

This commit is contained in:
Nathan Gray 2013-10-04 09:40:35 +00:00
parent e630823872
commit 282fb76cb6

View File

@ -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');