bugfix
This commit is contained in:
parent
454f30a345
commit
57f9c11f75
@ -121,7 +121,7 @@ bricks.TreeNode = class extends bricks.VBox {
|
|||||||
else this.icon_url = this.icons_urls.close;
|
else this.icon_url = this.icons_urls.close;
|
||||||
var img = new bricks.Svg({
|
var img = new bricks.Svg({
|
||||||
rate:1,
|
rate:1,
|
||||||
url:icon
|
url:icon_url
|
||||||
});
|
});
|
||||||
widget.add_widget(img);
|
widget.add_widget(img);
|
||||||
if (this.tree.node_view){
|
if (this.tree.node_view){
|
||||||
@ -246,7 +246,7 @@ bricks.Tree = class extends bricks.VScrollPanel {
|
|||||||
var tools = [];
|
var tools = [];
|
||||||
if (this.editable){
|
if (this.editable){
|
||||||
tools.push({icon:bricks_resource('imgs/add.svg'), name:'add'});
|
tools.push({icon:bricks_resource('imgs/add.svg'), name:'add'});
|
||||||
tools.push({icon:bricks_resource('imgs/update.svg'), name:'update'});
|
tools.push({icon:bricks_resource('imgs/edit.svg'), name:'update'});
|
||||||
tools.push({icon:bricks_resource('imgs/delete.svg'), name:'delete'});
|
tools.push({icon:bricks_resource('imgs/delete.svg'), name:'delete'});
|
||||||
}
|
}
|
||||||
if (toolbar.tools){
|
if (toolbar.tools){
|
||||||
|
Loading…
Reference in New Issue
Block a user