Fix error with close on reports

This commit is contained in:
rekonder 2017-04-24 16:02:30 +02:00
parent e3f4d38424
commit dc46a7b650

View file

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