Merge branch 'master' of gitlab2.rz.ifi.lmu.de:FraDrive/fradrive

This commit is contained in:
Steffen Jost 2022-09-30 18:22:28 +02:00
commit 7b5940f4cd

View File

@ -107,7 +107,7 @@ export class NavigateAwayPrompt {
// allow the event to happen if the form was not touched by the
// user (i.e. if the current FormData is equal to the initial FormData)
// or the unload event was initiated by a form submit
if (!formDataHasChanged || this.unloadDueToSubmit || this._parentModalIsClosed())
if (!formDataHasChanged || this._unloadDueToSubmit || this._parentModalIsClosed())
return;
// cancel the unload event. This is the standard to force the prompt to appear.