]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12825 - add some extra height to popups in IE7, otherwise they cant
authorpoltawski <poltawski>
Thu, 3 Jan 2008 22:41:54 +0000 (22:41 +0000)
committerpoltawski <poltawski>
Thu, 3 Jan 2008 22:41:54 +0000 (22:41 +0000)
be used merged from MOODLE_19_STABLE

lib/editor/htmlarea/plugins/TableOperations/table-operations.js

index 02b4d20b68ff556e0c7f40479b1598af80faf869..7c838f4e939669a7dcdf746086947b54409e75ab 100644 (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
         }
     });
 };