MDL-12561 Fix IE6 "insecure items" warning in SSL sites using htmlarea
The HTMLArea editor uses the about:blank URL for blank pages, which IE6 erroneously considers insecure. This commit replaces about:blank with lib/editor/htmlarea/blank.html instead. Author: Jonathan Harker <[email protected]>
This commit is contained in:
@@ -721,7 +721,7 @@ HTMLArea.prototype.generate = function () {
|
||||
// create the IFRAME
|
||||
var iframe = document.createElement("iframe");
|
||||
|
||||
iframe.src = "about:blank";
|
||||
iframe.src = "<?php echo $CFG->wwwroot ?>/lib/editor/htmlarea/blank.html";
|
||||
|
||||
iframe.className = "iframe";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user