Added the fix to make editor work better on SSL, as described here:

http://moodle.org/mod/forum/discuss.php?d=8555
This commit is contained in:
moodler
2004-06-05 10:38:42 +00:00
parent 3f30dc983d
commit a96deb69e2
+6
View File
@@ -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;