Merge pull request #1325 from Carreau/fix-tooltip-showpager

forgotten selected_cell -> get_selected_cell
pull/37/head
Brian E. Granger 14 years ago
commit b14f30c8f1

@ -224,7 +224,7 @@ var IPython = (function (IPython) {
morelink.append(morespan);
morelink.click(function(){
var msg_id = IPython.notebook.kernel.execute(name+"?");
IPython.notebook.msg_cell_map[msg_id] = IPython.notebook.selected_cell().cell_id;
IPython.notebook.msg_cell_map[msg_id] = IPython.notebook.get_selected_cell().cell_id;
that.remove_and_cancel_tooltip();
setTimeout(function(){that.code_mirror.focus();}, 50);
});

@ -1014,7 +1014,7 @@ var IPython = (function (IPython) {
var ncells = this.ncells();
for (var i=0; i<ncells; i++) {
this.select(i);
this.execute_get_selected_cell({add_new:false});
this.execute_selected_cell({add_new:false});
};
this.scroll_to_bottom();
};

Loading…
Cancel
Save