IE bugfixes

This commit is contained in:
Alexandre Cloutier
2014-09-05 11:01:57 -04:00
parent ca8351d1f9
commit 984e208dd9
5 changed files with 22 additions and 12 deletions

View File

@@ -298,6 +298,7 @@ function onAddFilter() {
var cell4 = row.insertCell(3);
Element.addClassName(cell4, "buttonsCell");
cell4.setAttribute("align", "center");
var buttonsDiv = document.createElement("div");
var imageAddFilter = document.createElement("img");
@@ -465,12 +466,13 @@ function onResizeClick() {
function adjustResultsTable(state) {
var resultsTable = $("resultsTable");
var height = $("searchMailView").getHeight();
if (state == "collapse")
height = height - 266;
var height = "innerHeight" in $("searchMailView") ? $("searchMailView").innerHeight : $("searchMailView").offsetHeight;
if (state == "collapse") {
height -= 266;
}
else
height = height - 152;
resultsTable.style.height = height + "px";
height -= 152;
$(resultsTable).style.height = height + "px";
}
/*************** Init ********************/