Show More
@@ -59,7 +59,7 b' var IPython = (function (IPython) {' | |||
|
59 | 59 | this.create_elements(); |
|
60 | 60 | this.bind_events(); |
|
61 | 61 | this.save_notebook = function() { // don't allow save until notebook_loaded |
|
62 |
this.save_notebook_error(null, null, " |
|
|
62 | this.save_notebook_error(null, null, "Load failed, save is disabled"); | |
|
63 | 63 | }; |
|
64 | 64 | }; |
|
65 | 65 |
@@ -189,7 +189,7 b' var IPython = (function (IPython) {' | |||
|
189 | 189 | nnw.set_message("Notebook saved",2000); |
|
190 | 190 | }); |
|
191 | 191 | $([IPython.events]).on('notebook_save_failed.Notebook', function (evt, xhr, status, data) { |
|
192 |
nnw.set_message( |
|
|
192 | nnw.set_message(data || "Notebook save failed"); | |
|
193 | 193 | }); |
|
194 | 194 | |
|
195 | 195 | // Checkpoint events |
General Comments 0
You need to be logged in to leave comments.
Login now