fix old eTemplate buttons with text and image to not have image behind caption

This commit is contained in:
Ralf Becker 2016-03-19 11:38:00 +00:00
parent 0cd226b91d
commit 7b0cc41f3f

View File

@ -624,7 +624,7 @@ egw_LAB.wait(function() {
if (preg_match($reg_exp, $name) && ($url = Image::find($GLOBALS['egw_info']['flags']['currentapp'], $img))) if (preg_match($reg_exp, $name) && ($url = Image::find($GLOBALS['egw_info']['flags']['currentapp'], $img)))
{ {
$options .= ' style="background-image: url('.$url.');"'; $options .= ' style="background-image: url('.$url.');"';
$classes[] = 'et2_button_with_image'; $classes[] = 'et2_button_with_image et2_button_text';
break; break;
} }
} }