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