Need to load etemplate translation for the error-message

This commit is contained in:
Ralf Becker 2006-10-26 12:11:11 +00:00
parent 62bb270e0f
commit 5bb1444e90

View File

@ -543,6 +543,7 @@
if (!($found = $this->link->query($app,$pattern == lang('Search') ? '' : $pattern))) // ignore the blur-text
{
$GLOBALS['egw']->translation->add_app('etemplate');
$response->addAlert(lang('Nothing found - try again !!!'));
$response->addScript("document.getElementById('$id_input').select();");
}