From a96deb69e224b0fedc5c23784f5f554306501372 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 5 Jun 2004 10:38:42 +0000 Subject: [PATCH] Added the fix to make editor work better on SSL, as described here: http://moodle.org/mod/forum/discuss.php?d=8555 --- lib/editor/htmlarea.php | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.39.5