MDL-12825 - add some extra height to popups in IE7, otherwise they cant

be used
This commit is contained in:
poltawski
2008-01-03 22:40:12 +00:00
parent b85226a64e
commit c5e1dedb3c
@@ -270,7 +270,7 @@ TableOperations.prototype.dialogTableProperties = function() {
dialog.showAtElement(dialog.editor._iframe, "c");
dialog.content.style.width = "400px";
if (document.all) {
dialog.content.style.height = dialog.content.clientHeight + 20 + 'px';
dialog.content.style.height = dialog.content.clientHeight + 60 + 'px'; //moodlefix
}
});
};
@@ -374,7 +374,7 @@ TableOperations.prototype.dialogRowCellProperties = function(cell) {
dialog.addButtons("ok", "cancel");
dialog.showAtElement(dialog.editor._iframe, "c");
if (document.all) {
dialog.content.style.height = dialog.content.clientHeight + 20 + 'px';
dialog.content.style.height = dialog.content.clientHeight + 60 + 'px'; //moodlefix
}
});
};