Skip to content

Resolve "Warn in Web Editor when user navigates away"

What does this MR do?

While user is editing a file, it this MR prevents them from navigating away accidentally without committing changes.

This MR prevents navigation by adding a 'beforeunload' event listener to the window. The event listener is removed when the user clicks the commit button

What are the relevant issue numbers?

closing issue #53728 (closed)

Does this MR meet the acceptance criteria?

Closes #53728 (closed)

Edited by Sam Bigelow

Merge request reports