bugfix
This commit is contained in:
parent
3d4cd8d0fd
commit
4a5eeb1553
@ -56,7 +56,7 @@ bricks.DataViewer = class extends bricks.VScrollPanel {
|
||||
add_row = async function(row, direction){
|
||||
var s = obj_fmtstr(row, this.viewer_tmpl);
|
||||
var desc = JSON.parse(s);
|
||||
var w = await widgetBuild(desc, this);
|
||||
var w = await bricks.widgetBuild(desc, this);
|
||||
if (! w){
|
||||
console.log(desc, 'widgetBuild() failed...........');
|
||||
return;
|
||||
|
@ -110,7 +110,7 @@ bricks.HttpText = class {
|
||||
console.log('login info:', e.target.getValue());
|
||||
return e.target.getValue();
|
||||
}
|
||||
var w = await widgetBuild({
|
||||
var w = await bricks.widgetBuild({
|
||||
"id":"login_form",
|
||||
"widgettype":"urlwidget",
|
||||
"options":{
|
||||
|
@ -84,7 +84,7 @@ bricks.MarkdownViewer = class extends bricks.VBox {
|
||||
}
|
||||
]
|
||||
}
|
||||
var w = await widgetBuild(desc);
|
||||
var w = await bricks.widgetBuild(desc);
|
||||
console.log('createBackButton():error, desc=', desc, 'w=', w);
|
||||
var t = w.children[0];
|
||||
console.log('createBackButton():text=',t);
|
||||
|
@ -92,7 +92,7 @@ bricks.TabPanel = class extends bricks.Layout {
|
||||
this.cur_tab_name = name;
|
||||
return;
|
||||
}
|
||||
w = await widgetBuild(items[i].content);
|
||||
w = await bricks.widgetBuild(items[i].content);
|
||||
if (! w){
|
||||
console.log('TabPanel():create content error', items[i].content);
|
||||
return;
|
||||
|
@ -70,7 +70,7 @@ bricks.Toolbar = class extends bricks.Layout {
|
||||
css:desc.css
|
||||
}
|
||||
};
|
||||
var w = await widgetBuild(options);
|
||||
var w = await bricks.widgetBuild(options);
|
||||
if (! w){
|
||||
console.log('Toolbar(): build widget failed', options);
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user