Can't click the "Comments" link in a retractable block
Bug #1690232 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
16.04 |
Fix Released
|
High
|
Unassigned | ||
16.10 |
Fix Released
|
High
|
Unassigned | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
Mahara 16.04+
You can't click on "Comments" in a retractable block. It just loads the page again but doesn't open the modal. It works fine when the block is not retracted.
To replicate:
1. Create a page with a block that can have comments, e.g. "Note".
2. Set the page to auto-retract
3. View the page, add a comment and go back to the page.
4. Click the "Comments" button.
Expected result: The comments modal pops in.
Actual result: Nothing happens.
When you test it, also make sure to test all retractable settings: No, Yes, auto-retract.
To post a comment you must log in.
The problem here is that when a block has retractable set, whether fully retracted or can retract, and we click the comments link it fires both the open dock.show() option and close dock.hide() option straight away
I suspect something with the retractable code is causing this