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