mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-28 09:32:46 +00:00
IE Fixes
Monotone-Parent: b80972e148e56ed9e7094c79272651736008b33d Monotone-Revision: b0d358e540a640da40f7cc0ca5ed4cf76c807c32 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-07T14:17:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -747,11 +747,17 @@ function onWindowResize(event) {
|
||||
var content = $("cke_contents_text");
|
||||
var height = Math.floor(window.height() - editor.offsetTop);
|
||||
|
||||
if (Prototype.Browser.IE) {
|
||||
editor.style.top = 0;
|
||||
height += 3;
|
||||
}
|
||||
|
||||
content.height = (height-60) + "px";
|
||||
content.style.height = (height-60) + "px";
|
||||
content.setStyle({ 'top': hr.offsetTop + 'px' });
|
||||
}
|
||||
textarea.rows = Math.floor((window.height() - textarea.offsetTop) / rowheight);
|
||||
else
|
||||
textarea.rows = Math.floor((window.height() - textarea.offsetTop) / rowheight);
|
||||
}
|
||||
|
||||
function onMailEditorClose(event) {
|
||||
|
||||
Reference in New Issue
Block a user