Skip to content

Commit

Permalink
Merge pull request ipython#1889 from invisibleroads/patch-3
Browse files Browse the repository at this point in the history
Reconnect when the websocket connection closes unexpectedly.

Closes ipython#1577.
  • Loading branch information
fperez committed Jun 10, 2012
2 parents f8658c7 + 6adfcd0 commit 339421e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions IPython/frontend/html/notebook/static/js/kernel.js
Expand Up @@ -98,9 +98,8 @@ var IPython = (function (IPython) {
" or if the url does not look right, there could be an error in the" +
" server's configuration.";
} else {
msg = "Websocket connection closed unexpectedly." +
" The kernel will no longer be responsive.";
}
this.start_channels();
}
var dialog = $('<div/>');
dialog.html(msg);
parent_item.append(dialog);
Expand Down

0 comments on commit 339421e

Please sign in to comment.