From 7b0cc41f3f72ffc135b7afdcb597c62fcf9119fc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 19 Mar 2016 11:38:00 +0000 Subject: [PATCH] fix old eTemplate buttons with text and image to not have image behind caption --- api/src/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Html.php b/api/src/Html.php index fc5e79b21e..d505ea6b62 100644 --- a/api/src/Html.php +++ b/api/src/Html.php @@ -624,7 +624,7 @@ egw_LAB.wait(function() { if (preg_match($reg_exp, $name) && ($url = Image::find($GLOBALS['egw_info']['flags']['currentapp'], $img))) { $options .= ' style="background-image: url('.$url.');"'; - $classes[] = 'et2_button_with_image'; + $classes[] = 'et2_button_with_image et2_button_text'; break; } }