Comment 8 for bug 1690232

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7782
Committed: https://git.mahara.org/mahara/mahara/commit/a4577946c3d7b8a62aafcbc3c8cf4d5f91e7cc78
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.04_STABLE

commit a4577946c3d7b8a62aafcbc3c8cf4d5f91e7cc78
Author: Robert Lyon <email address hidden>
Date: Sun May 14 16:09:28 2017 +1200

Bug 1690232: Comments link on retractable block failing to open modal

Actually the modal is opening and closing in the same instant.

This is caused by some code dealing with collapsible blocks making
sure modals are closed if outside certain rules.

This change checks what modal we are wanting and closing all but the
one are targeting when clicking the 'comments' link

behatnotneeded

Sponsored by SWITCH

Change-Id: Idb5165bdc8349f77286aa776ff75d152968aefda
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 5ce66781dfa1bd23f1bb632b9e61e68677259358)
(cherry picked from commit b2858fcf96d80809b8a9d6af4a85a9fc8d7fc392)