Show More
@@ -65,6 +65,13 b' var IPython = (function (IPython) {' | |||||
65 | }; |
|
65 | }; | |
66 |
|
66 | |||
67 |
|
67 | |||
|
68 | TextCell.prototype.unselect = function() { | |||
|
69 | // render on selection of another cell | |||
|
70 | this.render(); | |||
|
71 | IPython.Cell.prototype.unselect.apply(this); | |||
|
72 | }; | |||
|
73 | ||||
|
74 | ||||
68 | TextCell.prototype.edit = function () { |
|
75 | TextCell.prototype.edit = function () { | |
69 | if ( this.read_only ) return; |
|
76 | if ( this.read_only ) return; | |
70 | if (this.rendered === true) { |
|
77 | if (this.rendered === true) { | |
@@ -91,11 +98,8 b' var IPython = (function (IPython) {' | |||||
91 | var that = this; |
|
98 | var that = this; | |
92 | text_cell.dblclick(function () { |
|
99 | text_cell.dblclick(function () { | |
93 | that.edit(); |
|
100 | that.edit(); | |
94 | }).focusout(function () { |
|
|||
95 | that.render(); |
|
|||
96 | }); |
|
101 | }); | |
97 |
|
102 | that.render(); | ||
98 | text_cell.trigger("focusout"); |
|
|||
99 | }; |
|
103 | }; | |
100 |
|
104 | |||
101 |
|
105 |
General Comments 0
You need to be logged in to leave comments.
Login now