bugfix
This commit is contained in:
parent
0ccbc1d61b
commit
1baf3e564e
@ -50,7 +50,7 @@ bricks.Popup = class extends bricks.VBox {
|
||||
}
|
||||
}
|
||||
async load_content(){
|
||||
var w = bricks.widgetBuild(this.content, this);
|
||||
var w = await bricks.widgetBuild(this.content, this);
|
||||
if (w){
|
||||
if (this.content.dismiss_event){
|
||||
w.bind(this.content.dismiss_event, this.distroy.bind(this));
|
||||
|
Loading…
Reference in New Issue
Block a user