bugfix
This commit is contained in:
parent
b8c8efd459
commit
7e3e500009
@ -325,7 +325,9 @@ var _buildWidget = async function(from_widget, target, mode, options, desc){
|
|||||||
bricks.debug('options=', options, 'widgetBuild() failed');
|
bricks.debug('options=', options, 'widgetBuild() failed');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (w instanceof bricks.Popup) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if (w.parent) {
|
if (w.parent) {
|
||||||
if (target instanceof bricks.Popup || target instanceof bricks.PopupWindow){
|
if (target instanceof bricks.Popup || target instanceof bricks.PopupWindow){
|
||||||
target.destroy();
|
target.destroy();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user