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

Editor inserts ? into empty fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      The html editor inserts a ? into empty form fields. For example if you edit an activity and want to keep the description field empty you have to go to the source editing mode and delete the ? by hand. Otherwise there will be a strange empty box displayed on the activity page (Moodle uses the test of whether the desription string is empty to decide whether to print the box or not). I think this should be fixed before the release of Moodle 1.5

        Gliffy Diagrams

          Activity

          Hide
          dougiamas Martin Dougiamas added a comment -

          From Janne Mikkonen (janne.mikkonen at julmajanne.com) Tuesday, 15 March 2005, 12:09 AM:

          Just added fix for this. It starts at line 598. I made a test before the content is submitted.

          From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 15 March 2005, 03:40 AM:

          Thanks. That was quick.

          Show
          dougiamas Martin Dougiamas added a comment - From Janne Mikkonen (janne.mikkonen at julmajanne.com) Tuesday, 15 March 2005, 12:09 AM: Just added fix for this. It starts at line 598. I made a test before the content is submitted. From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 15 March 2005, 03:40 AM: Thanks. That was quick.
          Hide
          mblake Michael Blake added a comment -

          assign to a valid user

          Show
          mblake Michael Blake added a comment - assign to a valid user

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: