fix "Got invalid title request, by NOT sending empty requests" warnings

This commit is contained in:
Ralf Becker 2013-10-10 10:49:41 +00:00
parent ece1062b8b
commit 24e3fb2e63
2 changed files with 5 additions and 5 deletions

View File

@ -129,7 +129,7 @@ class etemplate_widget_link extends etemplate_widget
}
else
{
error_log("Got invalid title request: $app:" . array2string($ids));
error_log(__METHOD__."(".array2string($app_ids).") got invalid title request: app=$app, ids=" . array2string($ids));
}
}
egw_json_response::get()->data($response);

View File

@ -376,12 +376,12 @@ egw.extend('links', egw.MODULE_GLOBAL, function() {
// add all current title-requests
for(var app in title_queue)
{
if (typeof _params[0][app] == 'undefined')
{
_params[0][app] = [];
}
for(var id in title_queue[app])
{
if (typeof _params[0][app] == 'undefined')
{
_params[0][app] = [];
}
_params[0][app].push(id);
}
}