-
Bug
-
Resolution: Fixed
-
Minor
-
3.10.6, 3.11.2, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MDL-72286-master-test -
- Go into a course and create a new Page activity, and save
- Go back to the Page setting, and focus the "Name" field
- Hit the "Enter" key
- Verify that the form is submitted
In Atto, button groups are using a button without a type attribute. They should delcare the type button.
When focused on an input element, hitting the Enter key should trigger the form's submit button, or the closest button of type submit. However, when a button not declaring its type is found before a submit one, it will be given precedence.
Replication steps
- Create a new Page activity, and save.
- Go back to the Page setting, and focus the "Name" field
- Hit the "Enter" key
Expected
- The form is submitted
Actual
- Atto's "Title" plugin is given the focus and its dropdown opens
(Tested in laster master with Firefox)