Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix bug where a confirmation message wasn't displayed when leaving th…
…e PortalEditor. The way we were setting the beforeunload event listener has since been deprecated, so it may not have been working in all browsers. (See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload) Moved some of this functionality to the new parent EditorView, since it is shared funcitnality between the EML and Portal editors. Closes #1222
- Loading branch information
1 parent
4f6b480
commit 766aa80
Showing
4 changed files
with
171 additions
and
47 deletions.
There are no files selected for viewing
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
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
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
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