mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-24 23:03:45 +00:00
Prevent unsaved edit warning following validation errors on preview - fixes #2602
This commit is contained in:
parent
042ab43e4d
commit
26d7e27327
1 changed files with 1 additions and 0 deletions
|
|
@ -461,6 +461,7 @@ $(function() {
|
|||
|
||||
} else {
|
||||
previewWindow.close();
|
||||
disableDirtyFormCheck();
|
||||
document.open();
|
||||
document.write(data);
|
||||
document.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue