From 7d380f791e5525d62fb4395b21a8ddc274dea7e1 Mon Sep 17 00:00:00 2001 From: scyrma Date: Thu, 28 Aug 2008 04:08:37 +0000 Subject: [PATCH] MDL-14741: * Remove media plugin (which causes javascript error) until next upgrade from upstream * Fix onsubmit function to make it work - hopefully for good * Remove unused courseid parameter (which will make caching more effective) --- lib/editor/tinymce.js.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/editor/tinymce.js.php b/lib/editor/tinymce.js.php index 88e8869a65..d3b7c86360 100644 --- a/lib/editor/tinymce.js.php +++ b/lib/editor/tinymce.js.php @@ -4,7 +4,6 @@ define('NO_MOODLE_COOKIES', true); require_once('../../config.php'); -$courseid = optional_param('course', 0, PARAM_INT); $editorlanguage = optional_param('editorlanguage', 'en_utf8', PARAM_ALPHANUMEXT); $SESSION->lang = $editorlanguage; @@ -168,19 +167,19 @@ $output = <<