convert buttons without background_image attribute to et2-button-icon with name="<image-spec>" library="egw"

This commit is contained in:
ralf 2022-08-22 22:41:34 +02:00
parent 95f68a4b3d
commit 7876fbf710

View File

@ -333,6 +333,7 @@ function send_template()
{ {
$attrs['name'] = $attrs['image']; $attrs['name'] = $attrs['image'];
unset($attrs['image']); unset($attrs['image']);
$attrs['library'] = 'egw';
} }
} }
unset($attrs['background_image']); unset($attrs['background_image']);