Show More
@@ -349,9 +349,11 b' var IPython = (function (IPython) {' | |||
|
349 | 349 | // still warn, because if we don't the autosave may fail. |
|
350 | 350 | if (that.dirty && ! that.read_only) { |
|
351 | 351 | if ( that.autosave_interval ) { |
|
352 |
|
|
|
352 | that.save_notebook(); | |
|
353 | return "Autosave in progress, latest changes may be lost."; | |
|
354 | } else { | |
|
355 | return "Unsaved changes will be lost."; | |
|
353 | 356 | } |
|
354 | return "Unsaved changes will be lost."; | |
|
355 | 357 | }; |
|
356 | 358 | // Null is the *only* return value that will make the browser not |
|
357 | 359 | // pop up the "don't leave" dialog. |
General Comments 0
You need to be logged in to leave comments.
Login now