-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4840 from anaswaratrajan/warn-before-close
Added upload pending prompt on close/reload
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
changelog/unreleased/enhancement-prompt-on-window-close-pending-upload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Enhancement: Prompts leaving user about pending uploads | ||
|
||
Added an unload event listener that detects closes/ reloads/ navigates to another URL. | ||
Added prompt that ask for confirmation to leave site on unload events if uploads pending. | ||
Removed the event listener before destroy of component. | ||
|
||
https://github.com/owncloud/web/issues/2590 | ||
https://github.com/owncloud/web/pull/4840 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters