Show alert when closing block via 'Close' icon

Bug #1922705 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

'My story
==========

As a portfolio author I want to click the 'X' on a block configuration block and be warned about losing changes if I don't save so that I don't close the modal accidentally and lose all my text.

How
==========

Code that would check if there are unsaved changes before the 'Close' icon is clicked on a block configuration screen. This does not influence the 'Cancel' link at the bottom of the modal.

The text that should come up when clicking the 'X' and having unsaved changes: Any unsaved changes will be lost.

With buttons 'Confirm' and 'Back'.

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

Reviewed: https://reviews.mahara.org/11659
Committed: https://git.mahara.org/mahara/mahara/commit/e3e8b328139073c42a4dc96692966d55504bfd6f
Submitter: Lisa Seeto (<email address hidden>)
Branch: master

commit e3e8b328139073c42a4dc96692966d55504bfd6f
Author: Robert Lyon <email address hidden>
Date: Tue Mar 30 16:29:27 2021 +1300

Bug 1922705 Prevent accidental closing of 'Text' block without saving text

Change-Id: I6bf8b7a46f2995dfd6a4cf9d1d4b4afce5d068bb
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
tags: added: newfeature
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11744

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.