From 3a7517a5b2ef6f766b5144599422527aa546828f Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 06 May 2014 11:20:03 -0400
Subject: [PATCH] Fix button styles after canned responses backport
---
program/include/rcmail_output_html.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index 01507c3..c1da9f5 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -1176,7 +1176,7 @@
// generate html code for button
if ($btn_content) {
- $attrib_str = html::attrib_string($attrib, array_merge(html::$common_attrib, $link_attrib));
+ $attrib_str = html::attrib_string($attrib, array_merge(array('unselectable'), $link_attrib));
$out = sprintf('<a%s>%s</a>', $attrib_str, $btn_content);
}
--
Gitblit v1.9.1