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
F3374067: D8337.diff
Tue, Nov 26, 1:37 PM
Unknown Object (File)
Mon, Nov 25, 2:50 PM
Unknown Object (File)
Mon, Nov 25, 2:50 PM
Unknown Object (File)
Sat, Nov 23, 2:24 PM
Unknown Object (File)
Sat, Nov 23, 2:23 PM
Unknown Object (File)
Sun, Nov 17, 11:02 PM
Unknown Object (File)
Sat, Nov 9, 2:01 PM
Unknown Object (File)
Sat, Nov 9, 10:03 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