From bf552392d49998ef4e9dfc9a2c4ef3911a94109e 2012-01-25 20:20:40 From: Brian E. Granger Date: 2012-01-25 20:20:40 Subject: [PATCH] Merge pull request #1325 from Carreau/fix-tooltip-showpager forgotten selected_cell -> get_selected_cell --- diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index 55ecda5..efcd422 100644 --- a/IPython/frontend/html/notebook/static/js/codecell.js +++ b/IPython/frontend/html/notebook/static/js/codecell.js @@ -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); }); diff --git a/IPython/frontend/html/notebook/static/js/notebook.js b/IPython/frontend/html/notebook/static/js/notebook.js index 031d46a..d6bde51 100644 --- a/IPython/frontend/html/notebook/static/js/notebook.js +++ b/IPython/frontend/html/notebook/static/js/notebook.js @@ -1014,7 +1014,7 @@ var IPython = (function (IPython) { var ncells = this.ncells(); for (var i=0; i