summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-12-29 16:54:41 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-12-29 16:54:41 +0100
commitd9f180adf9e1e8a63ea9bfdb534dc376a4829fee (patch)
tree22ae88c3ae1d505a3d89012741a4b45e8747a6fc
parent6f3c97c5d32f93bb81b157bc4340fef8ee0b60ea (diff)
Minor IE7/8 fixes
-rw-r--r--program/steps/mail/get.inc7
-rw-r--r--skins/larry/ie7hacks.css4
-rw-r--r--skins/larry/mail.css2
-rw-r--r--skins/larry/templates/messagepart.html2
4 files changed, 10 insertions, 5 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 37f728ebf..9d9032b6a 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -160,10 +160,9 @@ else if (strlen($pid = get_input_value('_part', RCUBE_INPUT_GET))) {
'vars' => array('expected' => "$mimetype (.$file_extension)", 'detected' => "$real_mimetype (.$extensions[0])")
)) .
html::p('buttons',
- 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'))))
+ html::tag('button',
+ array('onclick' => "location.href='" . $RCMAIL->url(array_merge($_GET, array('_nocheck' => 1))) . "'"),
+ rcube_label('showanyway')))
)
)));
exit;
diff --git a/skins/larry/ie7hacks.css b/skins/larry/ie7hacks.css
index d383c1e3e..bca39e92d 100644
--- a/skins/larry/ie7hacks.css
+++ b/skins/larry/ie7hacks.css
@@ -25,6 +25,10 @@
height: expression((parseInt(document.documentElement.clientHeight)-120)+'px');
}
+#messagepartframe {
+ height: expression((parseInt(this.parentNode.offsetHeight)-1)+'px');
+}
+
input.button {
display: inline;
font-size: 90%;
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 57d968fb4..34c623391 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -1126,6 +1126,8 @@ div.message-partheaders .headers-table td.header {
#messagepartframe {
border: 0;
+ width: 100%;
+ height: 100%;
}
/*** message composition ***/
diff --git a/skins/larry/templates/messagepart.html b/skins/larry/templates/messagepart.html
index e029973a8..dbb4940de 100644
--- a/skins/larry/templates/messagepart.html
+++ b/skins/larry/templates/messagepart.html
@@ -27,7 +27,7 @@
</div>
<div id="messagepartcontainer" class="uibox">
-<roundcube:object name="messagePartFrame" id="messagepartframe" style="width:100%; height:100%" />
+<roundcube:object name="messagePartFrame" id="messagepartframe" frameborder="0" />
</div>
</div>