From: moodler Date: Sat, 5 Jun 2004 10:38:42 +0000 (+0000) Subject: Added the fix to make editor work better on SSL, as described here: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a96deb69e224b0fedc5c23784f5f554306501372;p=moodle.git Added the fix to make editor work better on SSL, as described here: http://moodle.org/mod/forum/discuss.php?d=8555 --- diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index ca8915d8c7..a3bf6aa001 100644 --- a/lib/editor/htmlarea.php +++ b/lib/editor/htmlarea.php @@ -699,6 +699,12 @@ HTMLArea.prototype.generate = function () { // create the IFRAME var iframe = document.createElement("iframe"); + + if (HTMLArea.is_ie) { // http://moodle.org/mod/forum/discuss.php?d=8555 + // tricky! set src to local url to turn off SSL security alert + iframe.src = this.config.popupURL+"blank.html"; + } + htmlarea.appendChild(iframe); this._iframe = iframe;