##// END OF EJS Templates
Clear window title when kernel is restarted...
Takafumi Arakaki -
Show More
@@ -48,6 +48,7 var IPython = (function (IPython) {
48 48 that.set_message("Kernel busy");
49 49 });
50 50 $([IPython.events]).on('status_restarting.Kernel',function () {
51 IPython.save_widget.update_document_title();
51 52 that.set_message("Restarting kernel",500);
52 53 });
53 54 $([IPython.events]).on('status_interrupting.Kernel',function () {
@@ -64,6 +65,7 var IPython = (function (IPython) {
64 65 title: "Dead kernel",
65 66 buttons : {
66 67 "Restart": function () {
68 IPython.save_widget.update_document_title();
67 69 that.set_message("Restarting kernel",500);
68 70 IPython.notebook.start_kernel();
69 71 $(this).dialog('close');
General Comments 0
You need to be logged in to leave comments. Login now