Merge pull request #569 from rekonder/aj-SCI-1130

Fix error with close on reports
This commit is contained in:
ajugo 2017-05-03 12:27:42 +02:00 committed by GitHub
commit 41df727e57

View file

@ -479,6 +479,7 @@ function initializeUnsavedWorkDialog() {
$(window).off('beforeunload');
$(document).off('page:before-change');
}
return exit;
}
$(window).on('beforeunload', beforeUnload);