##// END OF EJS Templates
only save on close if autosaving
MinRK -
Show More
@@ -342,7 +342,8 b' var IPython = (function (IPython) {'
342 if (kill_kernel) {
342 if (kill_kernel) {
343 that.kernel.kill();
343 that.kernel.kill();
344 }
344 }
345 if (that.dirty && ! that.read_only) {
345 // if we are autosaving, trigger an autosave on nav-away
346 if (that.dirty && that.autosave_interval && ! that.read_only) {
346 that.save_notebook();
347 that.save_notebook();
347 };
348 };
348 // Null is the *only* return value that will make the browser not
349 // Null is the *only* return value that will make the browser not
General Comments 0
You need to be logged in to leave comments. Login now