Closed Bug 1301067 Opened 8 years ago Closed 8 years ago

don't close modals without confirmation when clicking outside of them

Categories

(Release Engineering Graveyard :: Applications: Balrog (frontend), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: aaronjacob00, Mentored)

References

Details

(Whiteboard: [lang=js])

Attachments

(1 file)

I sometimes misclick when trying to hit "Save Changes", and click outside of the modal area. Doing this is the equivalent of hitting "Cancel" - it throws away my changes and I have to do them again. It would be good to either ask for confirmation before closing the modal, or simply don't do anything when clicking outside of (require the user to click "Cancel" specifically" to close it without saving changes).
Hi I would like to take up this issue. Can you tell me how to proceed?
(In reply to Aaron from comment #1) > Hi I would like to take up this issue. Can you tell me how to proceed? Looks like you got the work itself figured out. The patch looks good to me! Would you mind sending this as a Pull Request to https://github.com/mozilla/balrog? That's where we do most of our work.
Ok i added a pull request for the same. Please review it.
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/f379a802281469023154d023af3416326f59f480 bug 1301067: don't close modals without confirmation when clicking outside of them (#193). r=bhearsum
Assignee: nobody → aaronjacob00
Attachment #8819892 - Flags: review?(bhearsum) → review+
Depends on: 1324850
This is in production now, thank you very much Aaron! If you'd like to do more UI work there's plenty available :)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: