Skip to content
Browse files

Merging from MOODLE_14_STABLE

  • Loading branch information...
1 parent 4a4c30d commit c7ec213062dfe708359c6d5d87542d7f34f2ba67 julmis committed Feb 17, 2005
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/editor/plugins/TableOperations/table-operations.js
View
9 lib/editor/plugins/TableOperations/table-operations.js
@@ -166,7 +166,7 @@ TableOperations.prototype.dialogTableProperties = function() {
};
// dialog contents
- dialog.content.style.width = "400px";
+
dialog.content.innerHTML = " \
<div class='title'\
style='background: url(" + dialog.baseURL + dialog.editor.imgURL("table-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + i18n["Table Properties"] + "\
@@ -268,6 +268,10 @@ TableOperations.prototype.dialogTableProperties = function() {
dialog.modal = true;
dialog.addButtons("ok", "cancel");
dialog.showAtElement(dialog.editor._iframe, "c");
+ dialog.content.style.width = "400px";
+ if (document.all) {
+ dialog.content.style.height = dialog.content.clientHeight + 20 + 'px';
+ }
});
};
@@ -369,6 +373,9 @@ TableOperations.prototype.dialogRowCellProperties = function(cell) {
dialog.modal = true;
dialog.addButtons("ok", "cancel");
dialog.showAtElement(dialog.editor._iframe, "c");
+ if (document.all) {
+ dialog.content.style.height = dialog.content.clientHeight + 20 + 'px';
+ }
});
};

0 comments on commit c7ec213

Please sign in to comment.
Something went wrong with that request. Please try again.