mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
need to leave the NM header check for et2-button-icon conversation, to not convert [+ Add] in NM header
This commit is contained in:
parent
e08824b45b
commit
94cec559d6
@ -325,7 +325,8 @@ function send_template()
|
||||
$attrs['noValidation'] = 'true';
|
||||
}
|
||||
// replace not set background_image attribute with et2-button-icon tag, if not in NM / lists
|
||||
if (!empty($attrs['image']) && (empty($attrs['background_image']) || $attrs['background_image'] === 'false'))
|
||||
if (!empty($attrs['image']) && (empty($attrs['background_image']) || $attrs['background_image'] === 'false') &&
|
||||
!preg_match('/^(index|list)/', $name))
|
||||
{
|
||||
$tag = 'et2-button-icon';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user