Show More
@@ -131,17 +131,13 b' var IPython = (function (IPython) {' | |||||
131 | Tooltip.prototype.showInPager = function (cell) { |
|
131 | Tooltip.prototype.showInPager = function (cell) { | |
132 | // reexecute last call in pager by appending ? to show back in pager |
|
132 | // reexecute last call in pager by appending ? to show back in pager | |
133 | var that = this; |
|
133 | var that = this; | |
134 | var empty = function () {}; |
|
134 | var callbacks = {'shell' : { | |
135 | cell.kernel.execute( |
|
135 | 'payload' : { | |
136 | that.name + '?', { |
|
136 | 'page' : $.proxy(cell._open_with_pager, cell) | |
137 | 'execute_reply': empty, |
|
137 | } | |
138 | 'output': empty, |
|
138 | } | |
139 | 'clear_output': empty, |
|
139 | }; | |
140 | 'cell': cell |
|
140 | cell.kernel.execute(that.name + '?', callbacks, {'silent': false, 'store_history': true}); | |
141 | }, { |
|
|||
142 | 'silent': false, |
|
|||
143 | 'store_history': true |
|
|||
144 | }); |
|
|||
145 | this.remove_and_cancel_tooltip(); |
|
141 | this.remove_and_cancel_tooltip(); | |
146 | }; |
|
142 | }; | |
147 |
|
143 |
General Comments 0
You need to be logged in to leave comments.
Login now