Show More
@@ -280,7 +280,7 b' define([' | |||||
280 | } |
|
280 | } | |
281 |
|
281 | |||
282 | // If there are no controls or the cell is a rendered TextCell hide the toolbar. |
|
282 | // If there are no controls or the cell is a rendered TextCell hide the toolbar. | |
283 |
if (!this.ui_controls_list.length |
|
283 | if (!this.ui_controls_list.length) { | |
284 | this.hide(); |
|
284 | this.hide(); | |
285 | } else { |
|
285 | } else { | |
286 | this.show(); |
|
286 | this.show(); |
@@ -137,9 +137,6 b' define([' | |||||
137 | } |
|
137 | } | |
138 | this.refresh(); |
|
138 | this.refresh(); | |
139 | } |
|
139 | } | |
140 | if (this.celltoolbar.ui_controls_list.length) { |
|
|||
141 | this.celltoolbar.show(); |
|
|||
142 | } |
|
|||
143 | return cont; |
|
140 | return cont; | |
144 | }; |
|
141 | }; | |
145 |
|
142 | |||
@@ -180,7 +177,6 b' define([' | |||||
180 | */ |
|
177 | */ | |
181 | TextCell.prototype.set_rendered = function(text) { |
|
178 | TextCell.prototype.set_rendered = function(text) { | |
182 | this.element.find('div.text_cell_render').html(text); |
|
179 | this.element.find('div.text_cell_render').html(text); | |
183 | this.celltoolbar.hide(); |
|
|||
184 | }; |
|
180 | }; | |
185 |
|
181 | |||
186 |
|
182 |
General Comments 0
You need to be logged in to leave comments.
Login now