[GH-ISSUE #57] Confirm unload #53

Closed
opened 2026-02-26 01:35:02 +03:00 by kerem · 0 comments
Owner

Originally created by @JLiscom on GitHub (Jul 9, 2014).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/57

Add before unload to confirm change when editing a note

window.onbeforeunload = function() {
            return "Are you sure you want to navigate away?";//Keep the page from closing
}
Originally created by @JLiscom on GitHub (Jul 9, 2014). Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/57 Add before unload to confirm change when editing a note ``` window.onbeforeunload = function() { return "Are you sure you want to navigate away?";//Keep the page from closing } ```
kerem 2026-02-26 01:35:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OpenNote-JLiscom#53
No description provided.