Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9556

HTML editor shortcuts button appears when JavaScript disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9
    • Fix Version/s: 1.8.1, 1.9
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When using a supported browser but with JavaScript disabled, print_textarea still displays the keyboard shortcut help icon - even though no keyboard shortcuts are available as only an ordinary text area is provided. This could confuse users.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            quen Sam Marshall added a comment -

            I made it use document.write to output this button so that it does not appear if JS is disabled.

            Show
            quen Sam Marshall added a comment - I made it use document.write to output this button so that it does not appear if JS is disabled.

              People

              • Assignee:
                quen Sam Marshall
                Reporter:
                quen Sam Marshall
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jun/07