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

pull/17/head
Thomas Bruederli 12 years ago
parent f38ff4a19e
commit a2027101df

@ -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)
- Don't show errors when moving contacts into groups they are already in (#1488493)
- Make folders with unread messages in subfolders bold again (#1486793)

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

@ -209,12 +209,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