diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-27 10:01:01 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-27 10:01:01 +0000 |
| commit | 3562a4af918e22f8064393e630cf408360f87540 (patch) | |
| tree | 58fe3aeb2ba7000fd3668ebc648f4077187c3679 /roundcubemail/program/include | |
| parent | 996bd91367cf9f015a68f87ed1c7ad033c1e47ae (diff) | |
- don't unset button title on IE (#1485874)
git-svn-id: https://svn.roundcube.net/trunk@2548 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index 51108f143..8c0a8d05d 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/program/include/rcube_template.php @@ -766,10 +766,10 @@ class rcube_template extends rcube_html_page if ($attrib['alt']) { $attrib['alt'] = Q(rcube_label($attrib['alt'], $attrib['domain'])); } + // set title to alt attribute for IE browsers if ($this->browser->ie && $attrib['title'] && !$attrib['alt']) { $attrib['alt'] = $attrib['title']; - unset($attrib['title']); } // add empty alt attribute for XHTML compatibility @@ -797,9 +797,6 @@ class rcube_template extends rcube_html_page else if (in_array($attrib['command'], $a_static_commands)) { $attrib['href'] = rcmail_url($attrib['command']); } - else if ($attrib['command'] == 'permaurl' && !empty($this->env['permaurl'])) { - $attrib['href'] = $this->env['permaurl']; - } } // overwrite attributes |
