When adding blank annotation via page editor it removes tinymce from field
Bug #1715260 reported by
Robert Lyon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
16.10 |
Fix Released
|
High
|
Unassigned | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
Because the form is added again via viewmanager it doesn't have the tinymce started in it on form error return.
I'll add the code to rewire them back up.
----------
To test:
1) Enable annotation block via Admin -> Extensions
2) Create a page and add annotation block to it
3) Don't fill in anything in annotation field but hit 'save'
You should see the error 'This field is required.'
Before patch the field stops being a TinyMCe field and becomes a normal one
After patch (and hard refresh of javascript on page edit screen)
You should see the error 'This field is required.' and the field stay a tinyMCE field
Changed in mahara: | |
milestone: | none → 17.10.0 |
assignee: | nobody → Robert Lyon (robertl-9) |
importance: | Undecided → High |
status: | New → In Progress |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7980