Show More
@@ -280,7 +280,7 b' define([' | |||
|
280 | 280 | } |
|
281 | 281 | |
|
282 | 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 | 284 | this.hide(); |
|
285 | 285 | } else { |
|
286 | 286 | this.show(); |
@@ -137,9 +137,6 b' define([' | |||
|
137 | 137 | } |
|
138 | 138 | this.refresh(); |
|
139 | 139 | } |
|
140 | if (this.celltoolbar.ui_controls_list.length) { | |
|
141 | this.celltoolbar.show(); | |
|
142 | } | |
|
143 | 140 | return cont; |
|
144 | 141 | }; |
|
145 | 142 | |
@@ -180,7 +177,6 b' define([' | |||
|
180 | 177 | */ |
|
181 | 178 | TextCell.prototype.set_rendered = function(text) { |
|
182 | 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