From 5f0bd1fcb40eae92e747e0e855b77639fd17fc4a Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sat, 22 Dec 2012 10:40:20 -0500
Subject: [PATCH] Make html button-links work in IE

---
 program/steps/mail/get.inc |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 314a437..803716d 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -166,12 +166,11 @@
               'vars' => array('expected' => "$mimetype (.$file_extension)", 'detected' => "$real_mimetype (.$extensions[0])")
             )) .
             html::p('buttons',
-              html::tag('button', null,
-                html::a(array(
-                  'href' => $RCMAIL->url(array_merge($_GET, array('_nocheck' => 1))),
-                  'style' => 'text-decoration:none;color:#000',
-                ), rcube_label('showanyway')))
-            ))
+              html::a(array(
+                'href' => $RCMAIL->url(array_merge($_GET, array('_nocheck' => 1))),
+                'style' => 'text-decoration:none;color:#000',
+              ), html::tag('button', null, rcube_label('showanyway'))))
+            )
         )));
         exit;
       }

--
Gitblit v1.9.1