Prevent unsaved edit warning following validation errors on preview - fixes #2602

This commit is contained in:
Matt Westcott 2016-05-13 14:30:32 +01:00
parent 042ab43e4d
commit 26d7e27327

View file

@ -461,6 +461,7 @@ $(function() {
} else {
previewWindow.close();
disableDirtyFormCheck();
document.open();
document.write(data);
document.close();