mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Fix nested placeholders (customfields from other apps) were not being displayed properly
This commit is contained in:
parent
c73a7beac8
commit
d43c27a31b
@ -339,7 +339,7 @@ export class et2_placeholder_select extends et2_inputWidget
|
||||
{
|
||||
continue;
|
||||
}
|
||||
options[key].push({
|
||||
options[this.egw().lang(key)].push({
|
||||
value: key + '-' + sub,
|
||||
label: this.egw().lang(sub)
|
||||
});
|
||||
|
@ -3085,7 +3085,7 @@ abstract class Merge
|
||||
$app = self::get_app_class($field['type']);
|
||||
if($app)
|
||||
{
|
||||
$this->add_linked_placeholders($placeholders, $name, $app->get_placeholder_list('#' . $name));
|
||||
$this->add_linked_placeholders($placeholders, $name, $app->get_placeholder_list(($prefix ? $prefix . '/' : '') . '#' . $name));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -316,7 +316,7 @@ class infolog_merge extends Api\Storage\Merge
|
||||
[lang($tracking->field2label['info_from']) => []] +
|
||||
array_slice($placeholders, $insert_index, count($placeholders) - $insert_index, true);
|
||||
$contact_merge = new Api\Contacts\Merge();
|
||||
$contact = $contact_merge->get_placeholder_list('info_contact');
|
||||
$contact = $contact_merge->get_placeholder_list($this->prefix($prefix, 'info_contact'));
|
||||
$this->add_linked_placeholders($placeholders, lang($tracking->field2label['info_from']), $contact);
|
||||
|
||||
return $placeholders;
|
||||
|
Loading…
Reference in New Issue
Block a user