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 {
|
bricks.NewWindow = class extends bricks.JsWidget {
|
||||||
constructor(opts){
|
constructor(opts){
|
||||||
super(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;
|
break;
|
||||||
default:
|
default:
|
||||||
if ((opts.selected_data || opts.checked_data) && ! this.selected_node){
|
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();
|
w.open();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user