Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cookie message must not be empty
SockJS seems to ignore empty messages
  • Loading branch information
minrk committed Jan 18, 2013
commit 8b7bae9b1f2049df4baf69b416e4991550a13a84
2 changes: 1 addition & 1 deletion IPython/frontend/html/notebook/static/js/kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ var IPython = (function (IPython) {
console.log("Starting SockJS:", ws_url);
this.shell_channel = new SockJS(ws_url + "/sock");
send_cookie = function(){
this.send(document.cookie);
this.send(document.cookie || ' ');
};
var already_called_onclose = false; // only alert once
var ws_closed_early = function(evt){
Expand Down