bugfix
This commit is contained in:
parent
56c45a6cd2
commit
640350960a
@ -38,10 +38,10 @@ bricks.Popup = class extends bricks.VBox {
|
|||||||
open(){
|
open(){
|
||||||
var rect;
|
var rect;
|
||||||
var w;
|
var w;
|
||||||
if (this.widget isinstanceof bricks.Widget){
|
if (this.widget instanceof bricks.Widget){
|
||||||
rect = this.widget.showRectage()
|
rect = this.widget.showRectage()
|
||||||
this.issub = true;
|
this.issub = true;
|
||||||
} else if (this.widget isinstanceof String){
|
} else if (this.widget instanceof String){
|
||||||
var w = bricks.getWidgetById(this.widget, bricks.Body);
|
var w = bricks.getWidgetById(this.widget, bricks.Body);
|
||||||
if (!w){
|
if (!w){
|
||||||
ithis.issub = true
|
ithis.issub = true
|
||||||
|
Loading…
Reference in New Issue
Block a user