-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.9.10
-
None
-
Moodle 1.9.10 (clean install) + forumng 2.33
-
MOODLE_19_STABLE
when clicking the reply ro edit links on the buttom of a discussion or a reply to a discussion
on the discuss.php page, i get a blank textarea with no htmlarea editor.
looking into the code i get some errors (while the page loaded)
JS error: textarea is null on line 564
(htmlarea.php)
HTMLArea.prototype.generate = function () {
553 var editor = this; // we'll need "this" in some nested functions
554
555 // get the textarea
556 var textarea = this._textArea;
557 if (typeof textarea == "string")
561 // Fix for IE's sticky bug. Editor doesn't load
562 // editing area.
563 var height;
564 if ( textarea.offsetHeight && textarea.offsetHeight > 0 ) {
It seems, that : textarea = HTMLArea.getElementById("textarea", textarea);
return null.
and textarea is not found on the document. (funny)