trigger an event finished_execute.CodeCell

Daniel Krenn 9 years ago
parent d689ac1a38
commit 540b51e7d0

@ -334,6 +334,12 @@ define([
CodeCell.msg_cells[this.last_msg_id] = this;
this.render();
this.events.trigger('execute.CodeCell', {cell: this});
this.events.on('finished_iopub.Kernel', function (evt, data) {
if (that.kernel.id === data.kernel.id && that.last_msg_id === data.msg_id) {
console.log('finished_execute.CodeCell', {cell: that});
this.events.trigger('finished_execute.CodeCell', {cell: that});
}
});
};
/**

Loading…
Cancel
Save