Page MenuHomePhabricator

[web] Handle unsaved changes if the modal close button is clicked
ClosedPublic

Authored by rohan on Jun 27 2023, 11:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 28 2024, 6:56 PM
Unknown Object (File)
Sep 26 2024, 12:21 PM
Unknown Object (File)
Sep 26 2024, 12:21 PM
Unknown Object (File)
Sep 24 2024, 4:19 AM
Unknown Object (File)
Sep 24 2024, 4:19 AM
Unknown Object (File)
Sep 10 2024, 6:06 AM
Unknown Object (File)
Sep 10 2024, 6:06 AM
Unknown Object (File)
Sep 10 2024, 6:05 AM
Subscribers

Details

Summary

Some feedback from @ashoat in D8139 made me realize that even though clicking 'Back' will prompt an unsaved changes modal if necessary, clicking the default close icon on the modal doesn't. This diff is a really simple change to mirror behavior across both close methods.

Test Plan

Verified that now both methods of exiting the modal will prompt unsaved changes if there are any.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable