bugfix
This commit is contained in:
parent
2de2d89fdf
commit
296a4ae341
@ -10,7 +10,7 @@ bricks.Popup = class extends bricks.VBox {
|
|||||||
auto_dismiss:
|
auto_dismiss:
|
||||||
*/
|
*/
|
||||||
constructor(opts){
|
constructor(opts){
|
||||||
super();
|
super(opts);
|
||||||
this.auto_task = null;
|
this.auto_task = null;
|
||||||
this.issub = false;
|
this.issub = false;
|
||||||
this.set_css('popup');
|
this.set_css('popup');
|
||||||
@ -18,7 +18,7 @@ bricks.Popup = class extends bricks.VBox {
|
|||||||
this.set_style('zIndex', zindex);
|
this.set_style('zIndex', zindex);
|
||||||
}
|
}
|
||||||
add_widget(w, index){
|
add_widget(w, index){
|
||||||
super().add_widget(w, index);
|
super.add_widget(w, index);
|
||||||
if (this.auto_open){
|
if (this.auto_open){
|
||||||
this.open();
|
this.open();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user