Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2768

htmlarea editor does not show when clicking reply or edit on the discuss(.php) page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major 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")

      { 558 // it's not element but ID 559 this._textArea = textarea = HTMLArea.getElementById("textarea", textarea); 560 }

      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)

            Unassigned Unassigned
            nadavkav Nadav Kavalerchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.