From 8bc4a6528f65e8a953d908461df8edfecf07e47d Mon Sep 17 00:00:00 2001 From: Luke Tucker Date: Tue, 19 Jun 2012 19:06:40 +0930 Subject: [PATCH] MDL-34396 Ensure TinyMCE editor spell checking works on pages with $PAGE->https_required() --- lib/editor/tinymce/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/editor/tinymce/lib.php b/lib/editor/tinymce/lib.php index 3fca21ed0a8bd..16e70f2413189 100644 --- a/lib/editor/tinymce/lib.php +++ b/lib/editor/tinymce/lib.php @@ -155,7 +155,7 @@ protected function get_init_params($elementid, array $options=null) { 'min_height' => 30, 'theme_advanced_toolbar_location' => "top", 'theme_advanced_statusbar_location' => "bottom", - 'spellchecker_rpc_url' => $CFG->wwwroot."/lib/editor/tinymce/tiny_mce/$this->version/plugins/spellchecker/rpc.php", + 'spellchecker_rpc_url' => $CFG->httpswwwroot."/lib/editor/tinymce/tiny_mce/$this->version/plugins/spellchecker/rpc.php", 'spellchecker_languages' => $spelllanguagelist );