Fix window.resize handler on IE8 and Opera (#1488453)

pull/12/head
Thomas Bruederli 13 years ago
parent de68765974
commit 8ce6024618

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Fix window.resize handler on IE8 and Opera (#1488453)
- Don't let error message popups cover the login form (#1488500) - Don't let error message popups cover the login form (#1488500)
- Display Tiff as Jpeg in browsers without Tiff support (#1488452) - Display Tiff as Jpeg in browsers without Tiff support (#1488452)
- Don't display Pdf/Tiff/Flash attachments inline without browser support (#1488452, #1487929) - Don't display Pdf/Tiff/Flash attachments inline without browser support (#1488452, #1487929)

@ -803,7 +803,8 @@ div.hide-headers {
#messagecontent .leftcol, #messagecontent .leftcol,
#messagepreview .leftcol { #messagepreview .leftcol {
margin-right: 250px; margin-right: 252px;
overflow-x: auto;
} }
#messagecontent .rightcol, #messagecontent .rightcol,
@ -849,7 +850,7 @@ div.hide-headers {
div.message-part, div.message-part,
div.message-htmlpart { div.message-htmlpart {
padding: 10px 2px; padding: 0 2px 10px 2px;
border-top: 2px solid #f0f0f0; border-top: 2px solid #f0f0f0;
} }

@ -207,12 +207,8 @@ function rcube_mail_ui()
}) })
.contents().mouseup(body_mouseup); .contents().mouseup(body_mouseup);
$(window).resize(function(e) { // don't use $(window).resize() due to some unwanted side-effects
// check target due to bugs in jquery window.onresize = resize;
// http://bugs.jqueryui.com/ticket/7514
// http://bugs.jquery.com/ticket/9841
if (e.target == window) resize();
});
} }
/** /**

Loading…
Cancel
Save