From 405201f4b8b4db9a3c6b34cfb50acb8e75421873 Mon Sep 17 00:00:00 2001 From: scyrma Date: Thu, 28 Feb 2008 03:12:52 +0000 Subject: [PATCH] MDL-11242 - Setting the width back to it's 1.8 value. This makes it a bit too large for the message window, but is necessary for IE7/Vista (merge from 1.9) --- lib/editor/htmlarea/htmlarea.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/editor/htmlarea/htmlarea.php b/lib/editor/htmlarea/htmlarea.php index 5620145879..0711b23985 100644 --- a/lib/editor/htmlarea/htmlarea.php +++ b/lib/editor/htmlarea/htmlarea.php @@ -805,7 +805,7 @@ HTMLArea.prototype.generate = function () { var height = (this.config.height == "auto" ? (this._ta_size.h) : this.config.height); height = parseInt(height); var width = (this.config.width == "auto" ? (this._toolbar.offsetWidth) : this.config.width); - // width = Math.max(parseInt(width), 598); + width = Math.max(parseInt(width), 598); width = String(width); if (width.match(/^\d+$/)) { // is this a pure int? if so, let it be in px, and remove 2px -- 2.39.5