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
===========================
- 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)

@ -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;
}

@ -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;
}
/**

Loading…
Cancel
Save