Show More
@@ -204,7 +204,9 b' var IPython = (function (IPython) {' | |||||
204 | if (that.dirty && ! that.read_only) { |
|
204 | if (that.dirty && ! that.read_only) { | |
205 | return "You have unsaved changes that will be lost if you leave this page."; |
|
205 | return "You have unsaved changes that will be lost if you leave this page."; | |
206 | }; |
|
206 | }; | |
207 | return true; |
|
207 | // Null is the *only* return value that will make the browser not | |
|
208 | // pop up the "don't leave" dialog. | |||
|
209 | return null; | |||
208 | }); |
|
210 | }); | |
209 | }; |
|
211 | }; | |
210 |
|
212 |
General Comments 0
You need to be logged in to leave comments.
Login now