##// END OF EJS Templates
Fixing broken notebook saves.
Brian Granger -
Show More
@@ -1098,7 +1098,6 b' var IPython = (function (IPython) {'
1098 };
1098 };
1099
1099
1100 Notebook.prototype.save_notebook = function () {
1100 Notebook.prototype.save_notebook = function () {
1101 if (IPython.save_widget.test_notebook_name()) {
1102 var notebook_id = IPython.save_widget.get_notebook_id();
1101 var notebook_id = IPython.save_widget.get_notebook_id();
1103 var nbname = IPython.save_widget.get_notebook_name();
1102 var nbname = IPython.save_widget.get_notebook_name();
1104 // We may want to move the name/id/nbformat logic inside toJSON?
1103 // We may want to move the name/id/nbformat logic inside toJSON?
@@ -1119,7 +1118,6 b' var IPython = (function (IPython) {'
1119 var url = $('body').data('baseProjectUrl') + 'notebooks/' + notebook_id;
1118 var url = $('body').data('baseProjectUrl') + 'notebooks/' + notebook_id;
1120 $.ajax(url, settings);
1119 $.ajax(url, settings);
1121 };
1120 };
1122 };
1123
1121
1124
1122
1125 Notebook.prototype.notebook_saved = function (data, status, xhr) {
1123 Notebook.prototype.notebook_saved = function (data, status, xhr) {
General Comments 0
You need to be logged in to leave comments. Login now