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)
Thu, May 9, 3:15 AM
Unknown Object (File)
Thu, May 9, 3:15 AM
Unknown Object (File)
Wed, May 8, 7:30 AM
Unknown Object (File)
Mon, May 6, 9:35 PM
Unknown Object (File)
Mon, May 6, 9:35 PM
Unknown Object (File)
Sun, May 5, 3:05 PM
Unknown Object (File)
Sun, May 5, 3:05 PM
Unknown Object (File)
Sun, May 5, 3:00 PM
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