##// END OF EJS Templates
Move should cancel blur into codecell
Jonathan Frederic -
Show More
@@ -269,7 +269,7 b' var IPython = (function (IPython) {'
269 269 * @return results {bool} Whether or not to ignore the cell's blur event.
270 270 **/
271 271 Cell.prototype.should_cancel_blur = function () {
272 return IPython.tooltip && IPython.tooltip.is_visible();
272 return false;
273 273 };
274 274
275 275 /**
@@ -411,9 +411,10 b' var IPython = (function (IPython) {'
411 411 **/
412 412 CodeCell.prototype.should_cancel_blur = function () {
413 413 // Cancel this unfocus event if the base wants to cancel or the cell
414 // completer is open.
414 // completer is open or the tooltip is open.
415 415 return IPython.Cell.prototype.should_cancel_blur.apply(this) ||
416 (this.completer && this.completer.is_visible());
416 (this.completer && this.completer.is_visible()) ||
417 (IPython.tooltip && IPython.tooltip.is_visible());
417 418 };
418 419
419 420 CodeCell.prototype.select_all = function () {
General Comments 0
You need to be logged in to leave comments. Login now