mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02: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
|
// Set current app for validation
|
||||||
list($app) = explode('.',self::$request->method);
|
list($app) = explode('.',self::$request->method);
|
||||||
if(!$app) 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();
|
$validated = array();
|
||||||
$expand = array(
|
$expand = array(
|
||||||
'cont' => &self::$request->content,
|
'cont' => &self::$request->content,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user