bugfix
This commit is contained in:
parent
1baf3e564e
commit
8e11f40945
@ -138,7 +138,7 @@ bricks.DataViewer = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
if (this.toolbar){
|
if (this.toolbar){
|
||||||
this.toolbar.tools.forEach(t => {
|
this.toolbar.tools.forEach(t => {
|
||||||
if (! edit_names.incloudes(t.name)){
|
if (! edit_names.includes(t.name)){
|
||||||
tbdesc.tools.push(t);
|
tbdesc.tools.push(t);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -10,4 +10,12 @@ bricks.Iframe = class extends bricks.Layout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bricks.NewWindow = class extends bricks.JsWidget {
|
||||||
|
constructor(opts){
|
||||||
|
super(opts);
|
||||||
|
window.open(opts.url);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bricks.Factory.register('NewWindow', bricks.NewWindow);
|
||||||
bricks.Factory.register('Iframe', bricks.Iframe);
|
bricks.Factory.register('Iframe', bricks.Iframe);
|
||||||
|
Loading…
Reference in New Issue
Block a user