From 017b524a050aa85a2669269e6ce76d4b46a7269c Mon Sep 17 00:00:00 2001 From: poltawski Date: Thu, 3 Jan 2008 22:41:54 +0000 Subject: [PATCH] MDL-12825 - add some extra height to popups in IE7, otherwise they cant be used merged from MOODLE_19_STABLE --- .../htmlarea/plugins/TableOperations/table-operations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/editor/htmlarea/plugins/TableOperations/table-operations.js b/lib/editor/htmlarea/plugins/TableOperations/table-operations.js index 02b4d20b68f..7c838f4e939 100644 --- a/lib/editor/htmlarea/plugins/TableOperations/table-operations.js +++ b/lib/editor/htmlarea/plugins/TableOperations/table-operations.js @@ -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 } }); };