diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-05-31 13:30:23 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-05-31 13:30:23 +0200 |
commit | 8ce602461821bfc4fb1c5b2d40fb7468d9c299c7 (patch) | |
tree | 52345bc07ca5f181acccdcf2eaad3eb31b240e0c | |
parent | de6876597453e42690070af12e82e1fac0ad1b04 (diff) |
Fix window.resize handler on IE8 and Opera (#1488453)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | skins/larry/mail.css | 5 | ||||
-rw-r--r-- | skins/larry/ui.js | 8 |
3 files changed, 6 insertions, 8 deletions
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Fix window.resize handler on IE8 and Opera (#1488453) - Don't let error message popups cover the login form (#1488500) - Display Tiff as Jpeg in browsers without Tiff support (#1488452) - Don't display Pdf/Tiff/Flash attachments inline without browser support (#1488452, #1487929) diff --git a/skins/larry/mail.css b/skins/larry/mail.css index c0ceab076..762f59c8d 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -803,7 +803,8 @@ div.hide-headers { #messagecontent .leftcol, #messagepreview .leftcol { - margin-right: 250px; + margin-right: 252px; + overflow-x: auto; } #messagecontent .rightcol, @@ -849,7 +850,7 @@ div.hide-headers { div.message-part, div.message-htmlpart { - padding: 10px 2px; + padding: 0 2px 10px 2px; border-top: 2px solid #f0f0f0; } diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 2e0f0dbc0..630008f7e 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -207,12 +207,8 @@ function rcube_mail_ui() }) .contents().mouseup(body_mouseup); - $(window).resize(function(e) { - // check target due to bugs in jquery - // http://bugs.jqueryui.com/ticket/7514 - // http://bugs.jquery.com/ticket/9841 - if (e.target == window) resize(); - }); + // don't use $(window).resize() due to some unwanted side-effects + window.onresize = resize; } /** |