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

be used merged from MOODLE_19_STABLE
This commit is contained in:
poltawski 2008-01-03 22:41:54 +00:00
parent 3483ea572a
commit 017b524a05

View File

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