forked from extern/egroupware
fix old eTemplate buttons with text and image to not have image behind caption
This commit is contained in:
parent
0cd226b91d
commit
7b0cc41f3f
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user