##// END OF EJS Templates
Removed save widget delay.
Brian E. Granger -
Show More
@@ -938,7 +938,7 b' var IPython = (function (IPython) {'
938 Notebook.prototype.notebook_saved = function (data, status, xhr) {
938 Notebook.prototype.notebook_saved = function (data, status, xhr) {
939 this.dirty = false;
939 this.dirty = false;
940 IPython.save_widget.notebook_saved();
940 IPython.save_widget.notebook_saved();
941 setTimeout($.proxy(IPython.save_widget.status_save,IPython.save_widget),500);
941 IPython.save_widget.status_save();
942 }
942 }
943
943
944
944
@@ -946,7 +946,7 b' var IPython = (function (IPython) {'
946 // Notify the user and reset the save button
946 // Notify the user and reset the save button
947 // TODO: Handle different types of errors (timeout etc.)
947 // TODO: Handle different types of errors (timeout etc.)
948 alert('An unexpected error occured while saving the notebook.');
948 alert('An unexpected error occured while saving the notebook.');
949 setTimeout($.proxy(IPython.save_widget.reset_status,IPython.save_widget),500);
949 IPython.save_widget.reset_status();
950 }
950 }
951
951
952
952
General Comments 0
You need to be logged in to leave comments. Login now