diff core.js @ 2167:251c167bf42e

Fix for bugs #1671 and #1672
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 21 Mar 2016 13:46:31 +0000
parents e75107c82178
children 158e06debceb
line wrap: on
line diff
--- a/core.js	Sun Mar 20 11:01:26 2016 +0100
+++ b/core.js	Mon Mar 21 13:46:31 2016 +0000
@@ -365,6 +365,8 @@
 }
 
 function createProjectSave(destURL) {
+    // Clear the window.onbeforeunload
+    window.onbeforeunload = null;
 	// Save the data from interface into XML and send to destURL
 	// If destURL is null then download XML in client
 	// Now time to render file locally