Show More
@@ -194,7 +194,7 b' var IPython = (function (IPython) {' | |||||
194 | morelink.click(function(){ |
|
194 | morelink.click(function(){ | |
195 | var msg_id = IPython.notebook.kernel.execute(name+"?"); |
|
195 | var msg_id = IPython.notebook.kernel.execute(name+"?"); | |
196 | IPython.notebook.msg_cell_map[msg_id] = IPython.notebook.selected_cell().cell_id; |
|
196 | IPython.notebook.msg_cell_map[msg_id] = IPython.notebook.selected_cell().cell_id; | |
197 |
CodeCell.prototype.remove_and_cancel |
|
197 | CodeCell.prototype.remove_and_cancel_tooltip(that.tooltip_timeout); | |
198 | setTimeout(function(){that.code_mirror.focus();}, 50); |
|
198 | setTimeout(function(){that.code_mirror.focus();}, 50); | |
199 | }); |
|
199 | }); | |
200 |
|
200 | |||
@@ -208,7 +208,7 b' var IPython = (function (IPython) {' | |||||
208 | closespan.addClass('ui-icon-close'); |
|
208 | closespan.addClass('ui-icon-close'); | |
209 | closelink.append(closespan); |
|
209 | closelink.append(closespan); | |
210 | closelink.click(function(){ |
|
210 | closelink.click(function(){ | |
211 |
CodeCell.prototype.remove_and_cancel |
|
211 | CodeCell.prototype.remove_and_cancel_tooltip(that.tooltip_timeout); | |
212 | setTimeout(function(){that.code_mirror.focus();}, 50); |
|
212 | setTimeout(function(){that.code_mirror.focus();}, 50); | |
213 | }); |
|
213 | }); | |
214 | //construct the tooltip |
|
214 | //construct the tooltip | |
@@ -227,7 +227,7 b' var IPython = (function (IPython) {' | |||||
227 |
|
227 | |||
228 | // issues with cross-closing if multiple tooltip in less than 5sec |
|
228 | // issues with cross-closing if multiple tooltip in less than 5sec | |
229 | // keep it comented for now |
|
229 | // keep it comented for now | |
230 |
// setTimeout(CodeCell.prototype.remove_and_cancel |
|
230 | // setTimeout(CodeCell.prototype.remove_and_cancel_tooltip, 5000); | |
231 | }; |
|
231 | }; | |
232 |
|
232 | |||
233 | // As you type completer |
|
233 | // As you type completer |
General Comments 0
You need to be logged in to leave comments.
Login now