bugfix
This commit is contained in:
parent
1eb4615db3
commit
3796e5ce00
@ -497,7 +497,10 @@ bricks.PopupWindow = class extends bricks.Popup {
|
|||||||
this.tb_w.bind('minimize', this.win_minimize.bind(this));
|
this.tb_w.bind('minimize', this.win_minimize.bind(this));
|
||||||
this.tb_w.bind('fullscreen', this.content_w.enter_fullscreen.bind(this.content_w));
|
this.tb_w.bind('fullscreen', this.content_w.enter_fullscreen.bind(this.content_w));
|
||||||
if (this.title){
|
if (this.title){
|
||||||
this.title_w = new bricks.Text({text:this.title});
|
this.title_w = new bricks.Text({
|
||||||
|
otext:this.title,
|
||||||
|
i18n:true
|
||||||
|
});
|
||||||
this.title_bar.add_widget(this.title_w);
|
this.title_bar.add_widget(this.title_w);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user