bugfix
This commit is contained in:
parent
600cc0b91c
commit
c31db30118
@ -301,6 +301,11 @@ bricks.Tree = class extends bricks.VScrollPanel {
|
||||
} else if (opts.selected_data){
|
||||
d = this.selected_node.user_data
|
||||
}
|
||||
d.meta_data = {
|
||||
referer: this.id,
|
||||
title: opts.label,
|
||||
icon: opts.icon
|
||||
}
|
||||
this.dispatch(opts.name, d);
|
||||
break;
|
||||
}
|
||||
|
||||
@ -35,6 +35,7 @@ bricks.JsWidget = class {
|
||||
this._container = false;
|
||||
this.parent = null;
|
||||
this.sizable_elements = [];
|
||||
this.set_id(bricks.uuid());
|
||||
if (options.css){
|
||||
this.set_css(options.css);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user