mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Don't show kernel-dead on manually shutdown kernel
When there is no kernel, show 'No kernel', and set kernel-busy instead of showing read dead and bomb. This is different from kernel-dead
This commit is contained in:
parent
85d84ceb58
commit
510c883728
@ -148,8 +148,8 @@ define([
|
||||
|
||||
this.events.on('kernel_killed.Kernel kernel_killed.Session', function () {
|
||||
that.save_widget.update_document_title();
|
||||
knw.danger("Dead kernel");
|
||||
$kernel_ind_icon.attr('class','kernel_dead_icon').attr('title','Kernel Dead');
|
||||
knw.warning("No kernel");
|
||||
$kernel_ind_icon.attr('class','kernel_busy_icon').attr('title','Kernel is not running');
|
||||
});
|
||||
|
||||
this.events.on('kernel_dead.Kernel', function () {
|
||||
|
Loading…
Reference in New Issue
Block a user