##// END OF EJS Templates
fix IOPub parent checking in notebook...
MinRK -
Show More
@@ -766,9 +766,10 b' var IPython = (function (IPython) {'
766 // console.log(reply);
766 // console.log(reply);
767 var msg_type = reply.header.msg_type;
767 var msg_type = reply.header.msg_type;
768 var cell = this.cell_for_msg(reply.parent_header.msg_id);
768 var cell = this.cell_for_msg(reply.parent_header.msg_id);
769 if (!cell){
769 if (msg_type !== 'status' && !cell){
770 // message not from this notebook
770 // message not from this notebook, but should be attached to a cell
771 console.log("Received IOPub message not caused by one of my cells");
771 console.log("Received IOPub message not caused by one of my cells");
772 console.log(reply);
772 return;
773 return;
773 }
774 }
774 var output_types = ['stream','display_data','pyout','pyerr'];
775 var output_types = ['stream','display_data','pyout','pyerr'];
General Comments 0
You need to be logged in to leave comments. Login now