MDL-12825 - add some extra height to popups in IE7, otherwise they cant
be used
This commit is contained in:
@@ -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
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user