##// END OF EJS Templates
trigger autosave on tab/window close...
MinRK -
Show More
@@ -339,7 +339,7 var IPython = (function (IPython) {
339 that.kernel.kill();
339 that.kernel.kill();
340 }
340 }
341 if (that.dirty && ! that.read_only) {
341 if (that.dirty && ! that.read_only) {
342 return "You have unsaved changes that will be lost if you leave this page.";
342 that.save_notebook();
343 };
343 };
344 // Null is the *only* return value that will make the browser not
344 // Null is the *only* return value that will make the browser not
345 // pop up the "don't leave" dialog.
345 // pop up the "don't leave" dialog.
General Comments 0
You need to be logged in to leave comments. Login now