##// END OF EJS Templates
address PR feedback
Paul Ivanov -
Show More
@@ -59,7 +59,7 b' var IPython = (function (IPython) {'
59 this.create_elements();
59 this.create_elements();
60 this.bind_events();
60 this.bind_events();
61 this.save_notebook = function() { // don't allow save until notebook_loaded
61 this.save_notebook = function() { // don't allow save until notebook_loaded
62 this.save_notebook_error(null, null, "Notebook was not fully loaded.");
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 nnw.set_message("Notebook saved",2000);
189 nnw.set_message("Notebook saved",2000);
190 });
190 });
191 $([IPython.events]).on('notebook_save_failed.Notebook', function (evt, xhr, status, data) {
191 $([IPython.events]).on('notebook_save_failed.Notebook', function (evt, xhr, status, data) {
192 nnw.set_message("Notebook save failed:" + data);
192 nnw.set_message(data || "Notebook save failed");
193 });
193 });
194
194
195 // Checkpoint events
195 // Checkpoint events
General Comments 0
You need to be logged in to leave comments. Login now