From: moodler Date: Mon, 17 Nov 2003 01:56:43 +0000 (+0000) Subject: Removed some old editor stuff causing problems in IE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bae53097c96a38a7bc0a6de7fdfc050a51aa1f65;p=moodle.git Removed some old editor stuff causing problems in IE --- diff --git a/course/editsection.html b/course/editsection.html index 901655a277..a444b0a5d4 100644 --- a/course/editsection.html +++ b/course/editsection.html @@ -1,5 +1,5 @@
-
action="editsection.php"> +
@@ -28,8 +28,3 @@

- diff --git a/course/editsection.php b/course/editsection.php index 54d67a8526..5600682485 100644 --- a/course/editsection.php +++ b/course/editsection.php @@ -43,21 +43,20 @@ $form = $section; } - if ($usehtmleditor = can_use_richtext_editor()) { - $onsubmit = "onsubmit=\"copyrichtext(theform.summary);\""; - } else { - $onsubmit = ""; - } + $usehtmleditor = can_use_html_editor(); $sectionname = get_string("name$course->format"); $stredit = get_string("edit", "", " $sectionname $section->section"); print_header("$course->shortname: $stredit", "$course->fullname", "wwwroot/course/view.php?id=$course->id\">$course->shortname - -> $stredit", "form.summary"); + -> $stredit"); include("editsection.html"); + if ($usehtmleditor) { + use_html_editor(); + } print_footer($course); ?>