mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #569 from rekonder/aj-SCI-1130
Fix error with close on reports
This commit is contained in:
commit
41df727e57
1 changed files with 1 additions and 0 deletions
|
@ -479,6 +479,7 @@ function initializeUnsavedWorkDialog() {
|
|||
$(window).off('beforeunload');
|
||||
$(document).off('page:before-change');
|
||||
}
|
||||
return exit;
|
||||
}
|
||||
|
||||
$(window).on('beforeunload', beforeUnload);
|
||||
|
|
Loading…
Reference in a new issue