forked from extern/egroupware
Keep et2-link app attribute if set
This commit is contained in:
parent
461e83df28
commit
8195adfa85
@ -267,7 +267,7 @@ function send_template()
|
||||
if ($tag === 'et2-link-entry' && !empty($attrs['readonly']) || $tag === 'et2-link')
|
||||
{
|
||||
$tag = 'et2-link';
|
||||
$attrs['app'] = $attrs['only_app'];
|
||||
$attrs['app'] = $attrs['app'] ?? $attrs['only_app'];
|
||||
unset($attrs['only_app'], $attrs['readonly']);
|
||||
}
|
||||
return "<$tag" . stringAttrs($attrs) . "></$tag>";
|
||||
|
Loading…
Reference in New Issue
Block a user