##// END OF EJS Templates
forgotten selected_cell -> get_selected_cell...
Matthias BUSSONNIER -
Show More
@@ -224,7 +224,7 b' var IPython = (function (IPython) {'
224 morelink.append(morespan);
224 morelink.append(morespan);
225 morelink.click(function(){
225 morelink.click(function(){
226 var msg_id = IPython.notebook.kernel.execute(name+"?");
226 var msg_id = IPython.notebook.kernel.execute(name+"?");
227 IPython.notebook.msg_cell_map[msg_id] = IPython.notebook.selected_cell().cell_id;
227 IPython.notebook.msg_cell_map[msg_id] = IPython.notebook.get_selected_cell().cell_id;
228 that.remove_and_cancel_tooltip();
228 that.remove_and_cancel_tooltip();
229 setTimeout(function(){that.code_mirror.focus();}, 50);
229 setTimeout(function(){that.code_mirror.focus();}, 50);
230 });
230 });
General Comments 0
You need to be logged in to leave comments. Login now