mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
load app translations on ajax-submit too
This commit is contained in:
parent
2a61ac9264
commit
12717741e4
@ -246,8 +246,11 @@ class etemplate_new extends etemplate_widget_template
|
||||
// Set current app for validation
|
||||
list($app) = explode('.',self::$request->method);
|
||||
if(!$app) list($app) = explode('::',self::$request->method);
|
||||
if($app) $GLOBALS['egw_info']['flags']['currentapp'] = $app;
|
||||
|
||||
if($app)
|
||||
{
|
||||
translation::add_app($app);
|
||||
$GLOBALS['egw_info']['flags']['currentapp'] = $app;
|
||||
}
|
||||
$validated = array();
|
||||
$expand = array(
|
||||
'cont' => &self::$request->content,
|
||||
|
Loading…
Reference in New Issue
Block a user