diff --git a/static/js/utils/form.js b/static/js/utils/form.js index c545caa93..fadcbb7a4 100644 --- a/static/js/utils/form.js +++ b/static/js/utils/form.js @@ -322,7 +322,9 @@ // cancel the unload event. This is the standard to force the prompt to appear. event.preventDefault(); - // for all non standard compliant browsers we return a truthy value to activate the prompt. + // chrome apparently does not comply to standards. We need to set the events' returnValue as well. + event.returnValue = true; + // for all other non standard compliant browsers we return a truthy value to activate the prompt. return true; }