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

Form validation does not focus on HTML Editors

XMLWordPrintable

    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-31016-master-2
    • Hide

      Replication Instructions

      • Open a course
      • Turn Editing On
      • Add a new resource (I used a Page)
      • Scroll to the bottom of the screen and select one of the save options
      • Notice that focus is changed back to the 'Name' textbox
      • Fill in the 'Name' field only
      • Scroll to the bottom of the screen and select one of the save options

      Expected Result

      When clicking save the first time, focus is changed to the 'Name' textbox
      When clicking save the second time, focus is changed to the 'Description' HTML Editor

      Actual Result

      When clicking save the first time, focus is changed to the 'Name' textbox
      When clicking save the second time, focus is not changed to the 'Description' HTML Editor

      Show
      Replication Instructions Open a course Turn Editing On Add a new resource (I used a Page) Scroll to the bottom of the screen and select one of the save options Notice that focus is changed back to the 'Name' textbox Fill in the 'Name' field only Scroll to the bottom of the screen and select one of the save options Expected Result When clicking save the first time, focus is changed to the 'Name' textbox When clicking save the second time, focus is changed to the 'Description' HTML Editor Actual Result When clicking save the first time, focus is changed to the 'Name' textbox When clicking save the second time, focus is not changed to the 'Description' HTML Editor

      During Clientside JavaScript form validation, if an HTML Editor is empty (or fails validation in some other fashion) then focus is not set correctly.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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