bugfix
This commit is contained in:
parent
548d8f374f
commit
9e2fb01c0f
@ -13,7 +13,7 @@ bricks.Iframe = class extends bricks.Layout {
|
||||
bricks.NewWindow = class extends bricks.JsWidget {
|
||||
constructor(opts){
|
||||
super(opts);
|
||||
window.open(opts.url, target=opts.name || '_blank');
|
||||
window.open(opts.url, opts.name || '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -290,7 +290,7 @@ bricks.Tree = class extends bricks.VScrollPanel {
|
||||
break;
|
||||
default:
|
||||
if ((opts.selected_data || opts.checked_data) && ! this.selected_node){
|
||||
w = new bricks.Error({title:'Error', message:'No selected node found'});
|
||||
var w = new bricks.Error({title:'Error', message:'No selected node found'});
|
||||
w.open();
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user