Page settings form not behaving as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic |
Bug Description
Now that we have the cover image chooser on the form when I go to make a new page and press enter when focus is on page title field the form doesn't save
Instead there is an 'quotaUpdate( undefined undefined ) called but no id="quota_fill" on page' warning in the console log.
And if I open the Advanced section and go into the 'Add a file' I see the error message 'The file / folder name is required.'
Also if I select a cover image and save the form with the 'save' button and then come back to edit settings and update the page title and hit save - again the form doesn't save but now the selected cover image is now unselected - which will be confusing as the advanced section is still hidden.
So somehow, the 'enter' keystroke is being captured by the file chooser even when we are not focussed on it.
If we are not focusssed on the 'add a file' button or the 'remove' button for the selected cover image then they should not capture the enter keystroke
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
milestone: | none → 20.04rc2 |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
milestone: | 20.04rc2 → 20.04.0 |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/10932