bugfix
This commit is contained in:
parent
bdfb213ab1
commit
dd4647b9bd
@ -329,12 +329,12 @@ var _buildWidget = async function(from_widget, target, mode, options, desc){
|
||||
if (! target.parent){
|
||||
bricks.app.add_widget(target);
|
||||
}
|
||||
console.log('target=', target);
|
||||
if (desc.popup_options.eventpos){
|
||||
target.bind('opened', bricks.relocate_by_eventpos.bind(null, desc.event, target));
|
||||
if (desc.popup_options){
|
||||
if (desc.popup_options.eventpos){
|
||||
target.bind('opened', bricks.relocate_by_eventpos.bind(null, desc.event, target));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (mode == 'replace'){
|
||||
target.clear_widgets();
|
||||
target.add_widget(w);
|
||||
|
||||
@ -41,4 +41,5 @@ cp -a ../3parties/* ../dist/3parties
|
||||
cp -a ../docs/* ../dist/docs
|
||||
cp *.tmpl ../dist
|
||||
cp -a ../dist /tmp
|
||||
cp -a ../dist/* /d/public/bricks
|
||||
echo "Finished ..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user